kubelet failed to create containerd task if cgroupRoot defined cpuset and CPU Manager configured with static policy #124440
Labels
kind/bug
Categorizes issue or PR as related to a bug.
sig/node
Categorizes an issue or PR as relevant to SIG Node.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
Projects
What happened?
If the kubelet is configured with
cgroupRoot
andcpuManagerPolicy: static
and cpuset cgroup is defined with a specific vCPUs range, the kubelet fails to start containerd tasks or update container resources:What did you expect to happen?
The CPU Manager respects the cpuset of the root cgroup and uses its value as the
defaultCpuSet
.How can we reproduce it (as minimally and precisely as possible)?
use following
/var/lib/kubelet/config.yaml
:create cgroup with cpuset:
restart kubelet:
check logs:
Anything else we need to know?
No response
Kubernetes version
Cloud provider
OS version
No response
Install tools
No response
Container runtime (CRI) and version (if applicable)
Related plugins (CNI, CSI, ...) and versions (if applicable)
No response
The text was updated successfully, but these errors were encountered: