Skip to content

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

@neolit123

Description

@neolit123

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:

Metadata

Metadata

Assignees

Labels

area/cliarea/kubeletlifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.priority/backlogHigher priority than priority/awaiting-more-evidence.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions