-1

I read that the Container Registry called k8s.gcr.io is about to be removed soon. Any container pulls from this repository must migrate to the replacer: registry.k8s.io.

How can I change this in GCP GKE for existing workloads that already use the legacy?

Will it cause issues on Ingress IP address, SSL certs, any downtime etc?

Raz Buchnik
  • 7,753
  • 14
  • 53
  • 96

1 Answers1

1

As per this official doc , k8s.gcr.io will be redirected to registry.k8s.io, following the community announcement. This change will happen gradually to reduce disruption, and should be transparent to the majority of GKE clusters.

For impacted users that run in a restricted environment, the best option is to copy over the required images to a private registry or configure a pull-through cache in their registry.

There are several tools to copy images between registries; crane is one of those tools, and images can be copied to a private registry by using crane copy SRC DST. There are also vendor-specific tools, like e.g. Google’s gcrane, that perform a similar function but are streamlined for their platform. You can also refer to the options listed in the doc and troubleshoot further.

If you believe you have encountered a bug with the new registry or the redirect, please open an issue in the https://github.com/kubernetes/registry.k8s.io/issues.

Sai Chandini Routhu
  • 750
  • 1
  • 3
  • 13