Über Open CoDE Software Wiki Diskussionen GitLab

Skip to content

Add optional `containerd` registry config files

Kurt Garloff requested to merge registry_add_mirrors into main

Created by: matofeder

This PR adds optional containerd registry config files into the ./terraform/files/containerd directory. These config files may instruct containerd to use SCS container registry (https://registry.scs.community) as a mirror (proxy-cache) for public registries. The following public registry config files have been added:

  • ghcr.io
  • quay.io
  • registry.gitlab.com
  • registry.k8s.io

In addition, as a side action, the SCS container registry reference installation https://registry.scs.community has been configured to be able to proxy and cache images from the mentioned registries.

This PR also extends docs on how to use added files and how to request more if needed.

/tested with the following public images:

  • ghcr.io
    • kubectl run ghcr --image ghcr.io/graalvm/nodejs:ol9-java11-22.3.2
  • quay.io
    • kubectl run quay --image quay.io/openshift/okd:4.13.0-0.okd-2023-06-24-145750
  • registry.gitlab.com
    • kubectl run gitlab --image registry.gitlab.com/yaook/incubator/k8s-capi-provider:latest
  • registry.k8s.io
    • kubectl run k8s --image registry.k8s.io/etcd:3.5.3-0

Merge request reports