-
Notifications
You must be signed in to change notification settings - Fork 521
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
build the pause image from upstream source and use as the default #3940
build the pause image from upstream source and use as the default #3940
Conversation
Putting up to get some thoughts on the approach before I replicate this to the other K8s versions. |
728a412
to
0a1a244
Compare
I left the
But maybe its good to be removed from there as well? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All the code and config changes look good to me. The remaining piece is the migrations, which you're welcome to tackle or punt to one of the developers more familiar with this dark corner of Bottlerocket.
We're overdue for a migrations archival - relocating some of the newer migrations to |
0a1a244
to
a71c49d
Compare
sources/api/migration/migrations/v1.21.0/build-kubernetes-pause-container/src/main.rs
Outdated
Show resolved
Hide resolved
a71c49d
to
887baef
Compare
887baef
to
39a512f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Might be good to tweak the commit titles a bit:
settings: use built-in pause container image for k8s
kubernetes-*: switch to built-in pause container image
(The k8s commits can be kept separate or squashed into one, up to you.)
39a512f
to
04558e6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm. I am happy to get a second (or so) back from pulling this image from ECR.
04558e6
to
27f758b
Compare
Description of changes:
Builds the pause image from the Kubernetes source into the image.
Testing done:
Ran an instance with no pod-infra-container-image specified, and with one specified:
Terms of contribution:
By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.