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

stop using the kubelet flag --pod-infra-container-image in kubeadm #3108

Open
neolit123 opened this issue Sep 9, 2024 · 0 comments
Open
Labels
area/cli area/kubelet priority/backlog Higher priority than priority/awaiting-more-evidence.
Milestone

Comments

@neolit123
Copy link
Member

neolit123 commented Sep 9, 2024

this is a pending TODO from:

but the flag has proven problematic as it was also used to pin the pause image and prevent the kubelet GC from collecting it.
logic was added in kubelet, CRI and container runtimes to support this (but has a bug in containerd).

tracking issue in k/k;

some related PRs:

according to this commented we can only remove the flag completely when containerd version 2.0+ becomes widely used:

bug outlined here:


pending AIs are:

  • remove the flag from the kubelet in release X
    TODO
  • remove the flag when kubeadm deploys kubelet X, for other kubelets down to X-3 we must continue to pass the flag
    TODO
  • remove the flag when kubeadm upgrades to kubelet X?
    TODO
@neolit123 neolit123 added priority/backlog Higher priority than priority/awaiting-more-evidence. area/kubelet area/cli labels Sep 9, 2024
@neolit123 neolit123 added this to the Next milestone Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cli area/kubelet priority/backlog Higher priority than priority/awaiting-more-evidence.
Projects
None yet
Development

No branches or pull requests

1 participant