K8s 1.25.x deployment fails / Upstream container image registry moved
Created by: ghost
Deployment gets stuck during bootstrap of first control plane because coredns container image cannot be pulled.
Example log of containerd on control plane:
Oct 18 07:02:29 private-1-25-x-control-plane-genc01-z82cd containerd[542]: time="2022-10-18T07:02:29.140119964Z" level=error msg="PullImage \"k8s.gcr.io/coredns:v1.9.3\" failed" error="rpc error: code = NotFound desc = failed to pull and unpack image \"k8s.gcr.io/coredns:v1.9.3\": failed to resolve reference
Registry k8s.gcr.io moved to registry.k8s.io in K8s 1.25 according to: https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.25.md#moved-container-registry-service-from-k8sgcrio-to-registryk8sio.