-
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
Stop using "k8s.gcr.io" registry, use "registry.k8s.io" for new #14769
Comments
Needs to be updated also for 1.22 - 1.24, and there are still places using the old echoserver. |
Thanks for creating the tracking issue @afbjorklund I should have started there instead of just opening up a PR 😅 For further context, while gcr won't be shut down - we need to shift as much traffic to use registry.k8s.io which will load balance across multiple providers and acts as a CDN (e.g. if a person is running on aws, it will pull images from the aws mirror). The big driver for being proactive on this is that we're currently tracking to exhaust our 3M in GCP credits (to the tune of an additional 1M 😬 ), well before end of year and are looking to reduce those costs as quickly as possible and (ideally) as little interruption to prod environments as possible. We are looking at other potential disruptive actions, like setting a retention policy to age out old images after say 3 years (9 releases) |
The idea behind not changing legacy releases, except for no longer matching what There are similar issues to use dl.k8s.io, or apt.k8s.io or yum.k8s.io, but those are more about staying hosting agnostic. So instead of hardcoding https://storage.googleapis.com/ or https://packages.cloud.google.com/, it uses the mirrors... But I don't think they make any practical difference - yet. Possibly if OBS gets used more. |
@afbjorklund How are we doing with this? I see there are some PRs that got merged, is there anything else that can be done for this issue? |
Background
https://github.com/kubernetes/k8s.io/wiki/New-Registry-url-for-Kubernetes-(registry.k8s.io)
https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.25.md#changelog-since-v1240
All the images from
kubeadm
, needs to be moved: (they have already changed, inv1.25.0-alpha.1
)Probably would be a good idea to put the 5 year old (!)
k8s.gcr.io/echoserver:1.4
out of its misery, too ?Unfortunately, "k8s.gcr.io" seems to be hardcoded in a lot of add-ons. Not sure if they are affected ?
The "pause" image should be overridden at runtime (in the container runtimes), so should be fine...
Updating old preloads and cache images will be an interesting research project, sometime "later".The text was updated successfully, but these errors were encountered: