-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make old k8s releases also use the new registry #16017
Comments
$ ~/.minikube/cache/linux/amd64/v1.23.0/kubeadm config images list --kubernetes-version=v1.23.0
k8s.gcr.io/kube-apiserver:v1.23.0
k8s.gcr.io/kube-controller-manager:v1.23.0
k8s.gcr.io/kube-scheduler:v1.23.0
k8s.gcr.io/kube-proxy:v1.23.0
k8s.gcr.io/pause:3.6
k8s.gcr.io/etcd:3.5.1-0
k8s.gcr.io/coredns/coredns:v1.8.6
$ ~/.minikube/cache/linux/amd64/v1.23.0/kubeadm config images list --kubernetes-version=v1.23.0 --image-repository=registry.k8s.io
registry.k8s.io/kube-apiserver:v1.23.0
registry.k8s.io/kube-controller-manager:v1.23.0
registry.k8s.io/kube-scheduler:v1.23.0
registry.k8s.io/kube-proxy:v1.23.0
registry.k8s.io/pause:3.6
registry.k8s.io/etcd:3.5.1-0
registry.k8s.io/coredns:v1.8.6 It's the same images.
|
Re-tagging the images for airgapped installations is left to do, also needs checking china mirror for older releases. Should also look in the cache for the old names, if not using the preload. Again, only for the affected old releases... |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close not-planned |
@k8s-triage-robot: Closing this issue, marking it as "Not Planned". In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Previously, we have changed all releases since 1.25 to use registry.k8s.io
Now, we also need to change any old releases to stop using k8s.gcr.io too
https://kubernetes.io/blog/2023/03/10/image-registry-redirect/
https://kubernetes.io/blog/2023/02/06/k8s-gcr-io-freeze-announcement/This can be done by adding a flag to kubeadm, and by re-tagging the images.
--image-repository=registry.k8s.io
load preloaded images from tarball
retag k8s.gcr.io/* as registry.k8s.io/*
to avoid having to redo all preloads
All newer releases should already be using the new registry, so mostly for 1.16-1.22
The DefaultKubernetesRepo changed for 1.25.0 #14768
Changing the kubeadm registry was backported #15546
The old registry is going to be deleted, so it should not be used for new installations.
Umbrella issue: k8s.gcr.io => registry.k8s.io solution k8s.io#1834
Sunset for k8s.gcr.io repository k8s.io#4872
The text was updated successfully, but these errors were encountered: