Skip to content
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

docker: update infra_image to new registry #23927

Merged
merged 2 commits into from
Sep 6, 2024
Merged

Conversation

tgross
Copy link
Member

@tgross tgross commented Sep 6, 2024

The gcr.io container registry is shutting down in March. Update the default infra_image for Docker's "pause" containers to point to the new location hosted by the k8s project.

Fixes: #23911
Ref: https://hashicorp.atlassian.net/browse/NET-10942


Question/note for reviewers: I said in #23911 that this is a breaking change so it should go in 1.9.0, but in March when the registry move happens our 1.8 LTS will still be in its support window (as will 1.7 until ~May or so, assuming that's when 1.10 goes out). Anyone on these older versions will have new allocations fail unless they update their pause container. Maybe we should pre-announce backporting this to 1.8 and 1.7 and then do so after 1.9 goes GA to give folks some time to deal with it if they have restrictive firewall environments?

The gcr.io container registry is shutting down in March. Update the default
`image_image` for Docker's "pause" containers to point to the new location
hosted by the k8s project.

Fixes: #23911
Ref: https://hashicorp.atlassian.net/browse/NET-10942
Copy link
Member

@gulducat gulducat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

Regarding restrictive networks, I suspect (without evidence) that folks in such environments likely already set infra_image to some internal mirror, which would make this a no-op for them.

But that's just conjecture, so I agree with you on waiting to backport it until after <some time> after an announcement, since the alternative would be to suggest folks on older versions set this new value in their client config manually, which doesn't seem as user-friendly to me. I.e. the default should "just work" for our currently-supported versions.

Copy link
Member

@schmichael schmichael left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I don't think preannouncing is necessary, and we should get this into backports ASAP. There's often a weeks-to-months long lag between when a user selects a target version to upgrade their cluster to before they actually roll that version out to every environment. I'd hate for them to select the announcement version only to discover mid-rollout they need to upgrade again or manually update their infra_image on every client.

If users upgrade before reading upgrade notes, then preannouncing doesn't help anyway. I vote we rip the bandaid.

website/content/docs/upgrade/upgrade-specific.mdx Outdated Show resolved Hide resolved
@tgross tgross added backport/ent/1.6.x+ent Changes are backported to 1.6.x+ent backport/ent/1.7.x+ent Changes are backported to 1.7.x+ent backport/1.8.x backport to 1.8.x release line labels Sep 6, 2024
@tgross tgross merged commit 192d70c into main Sep 6, 2024
30 checks passed
@tgross tgross deleted the infra-image-registry branch September 6, 2024 18:34
tgross added a commit that referenced this pull request Sep 6, 2024
The gcr.io container registry is shutting down in March. Update the default
`image_image` for Docker's "pause" containers to point to the new location
hosted by the k8s project.

Fixes: #23911
Ref: https://hashicorp.atlassian.net/browse/NET-10942
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/ent/1.6.x+ent Changes are backported to 1.6.x+ent backport/ent/1.7.x+ent Changes are backported to 1.7.x+ent backport/1.8.x backport to 1.8.x release line theme/driver/docker
Projects
None yet
Development

Successfully merging this pull request may close these issues.

registry of default image for pause container is deprecated
3 participants