-
Notifications
You must be signed in to change notification settings - Fork 1.5k
NO-JIRA: remove pod-infra-container-image flag from kubelet #10145
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
base: main
Are you sure you want to change the base?
Conversation
Remove the --pod-infra-container-image flag from the bootstrap kubelet startup script. This change only applies to bootstrap node as cluster nodes are managed by MCO. Background: The --pod-infra-container-image kubelet flag has been deprecated and will be fully removed in k8s v1.35. Attempting to set this flag will result in kubelet crashing.
|
@tthvo: This pull request explicitly references no jira issue. 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 openshift-eng/jira-lifecycle-plugin repository. |
|
I do see a comment 👇 installer/data/data/bootstrap/files/usr/local/bin/kubelet-pause-image.sh.template Lines 5 to 6 in 75bbd5d
Since we remove this flag, how will the pause image be set to match the release payload 🤔? |
Hmm, according to upstream conversation, it's been no-op for a long time and is now handled via crio configurations: kubernetes/kubernetes#133778 (comment) We see we already did that 👍
|
|
/test e2e-azure-ovn e2e-vsphere-ovn e2e-gcp-ovn e2e-metal-ipi-ovn |
|
https://kubernetes.io/docs/setup/production-environment/container-runtimes/#override-pause-image-cri-o confirms that this is configured through CRI-O now. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: zaneb The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
From e2e runs without this PR, for example ci/prow/e2e-aws-ovn, kubelet logs complains about the deprecated flag: From e2e run in this PR, for example ci/prow/e2e-aws-ovn, we can see the kubelet log shows the flag unset: In both cases, the install step succeeded. |
|
@tthvo: all tests passed! Full PR test history. Your PR dashboard. 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. I understand the commands that are listed here. |
|
/lgtm |
|
Excellent! |
Remove the --pod-infra-container-image flag from the bootstrap kubelet startup script. This change only applies to bootstrap node as cluster nodes are managed by MCO.
Background: The --pod-infra-container-image kubelet flag has been deprecated and will be fully removed in k8s v1.35. Attempting to set this flag will result in kubelet crashing.