-
Notifications
You must be signed in to change notification settings - Fork 40k
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
Bump pause container used by kubelet and tests to 3.1 #57517
Conversation
/sig node |
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.
wonder if it's worth updating hack/make-rules/test-cmd-util.sh
and hack/testdata/pod-with-precision.json
too?
otherwise LGTM
@@ -28,7 +28,7 @@ import ( | |||
const ( | |||
// When these values are updated, also update test/e2e/framework/util.go |
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.
maybe update this comment while you're here, since it's no longer valid? :)
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.
Path updated, technical debt repaid. :)
test/integration/framework/util.go
Outdated
@@ -41,7 +41,7 @@ const ( | |||
// When these values are updated, also update cmd/kubelet/app/options/options.go |
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.
these too.
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.
Path updated.
test/utils/image/manifest.go
Outdated
@@ -83,7 +83,7 @@ var ( | |||
NoSnatTestProxy = ImageConfig{e2eRegistry, "no-snat-test-proxy", "1.0", true} | |||
NWayHTTP = ImageConfig{e2eRegistry, "n-way-http", "1.0", true} | |||
// When these values are updated, also update cmd/kubelet/app/options/options.go |
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.
and this one.
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.
Path updated.
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.
Aren't there more places that need updating in the repo or have we finally gotten into a such good place so that this is a 5 LoC change :)?
This needs a pretty big release note and needs to be pointed out in v1.10 external dependencies as well...
Also, what has changed between 3.0 and 3.1? Any changelog to refer to?
Actually, I think we have. There are lots of other references to the pause container, but in config snippets used in unit tests. These were the only places I saw that were actually using the container, but admittedly it was a little bit needle-in-haystack. I wouldn't mind updating all of those if someone thinks it is important.
Oh really? I didn't think anyone would care that much. I suppose some may use cached images. I'll update the description with a release note.
There were two changes to pause.c:
The only changelog is the commit history for pause.c, though I've been starting to wonder if pause should be a separate repo since it's versioned separately. |
Please update all refs to 3.0 you only can see
Great 👍
Every change of this sort needs to be visibly advertised, e.g. as people may be in air-gapped envs where they pull the images themselves and need to know the exact image to pull. In that light this is a breaking change. We need for instance to update the kubeadm v1.10 docs with this information, where we do reference the 3.0 pause image.
Can you please create a CHANGELOG.md file in the pause directory so it's easier to keep track in source control?
I think it's fine here, we have lots of other images here that are versioned independently as well |
Updated all existing references of pause 3.0 to pause 3.1 and added a simple CHANGELOG.md. Let me know if you want anything more from the CHANGELOG. |
/retest |
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
@ixdy WDYT?
build/pause/CHANGELOG.md
Outdated
@@ -0,0 +1,8 @@ | |||
# 3.1 | |||
|
|||
* The pause container gains a single handler to clean up orphaned zombie processes. ([#36853](https://prs.k8s.io/36853), [@verb](https://github.com/verb)) |
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.
typo: single->signal?
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.
Whoops, fixed. Thanks for catching that.
LGTM besides typo. Wonder who's a good approver for this... |
This updates the version of the pause container used by the kubelet and various test utilities to 3.1. This also adds a CHANGELOG.md for build/pause
Looks like pull-kubernetes-cross is unable to build hyperkube across PRs: https://k8s-gubernator.appspot.com/builds/kubernetes-jenkins/pr-logs/directory/pull-kubernetes-cross |
Issue for cross: #57822 |
/lgtm |
@@ -26,9 +26,9 @@ import ( | |||
) | |||
|
|||
const ( | |||
// When these values are updated, also update test/e2e/framework/util.go | |||
// When these values are updated, also update test/utils/image/manifest.go |
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.
These "please also update" comments in multiple files seem a bit too much to me. Maybe we should clean it up another time
/lgtm /cc @Random-Liu, just FYI |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ixdy, luxas, verb, yujuhong Associated issue: #50865 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
/test all [submit-queue is verifying that this PR is safe to merge] |
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions here. |
This updates the version of the pause container used by the kubelet and
various test utilities to 3.1.
What this PR does / why we need it: The pause container hasn't been rebuilt in quite a while and needs an update to reap zombies (#50865) and for schema2 manifest (#56253).
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #50865, Fixes #56253
Special notes for your reviewer:
Release note: