kubelet cpu-cfs-quota flag does not work properly #61293
Labels
kind/bug
Categorizes issue or PR as related to a bug.
milestone/needs-approval
priority/critical-urgent
Highest priority. Must be actively worked on as someone's top priority right now.
sig/node
Categorizes an issue or PR as relevant to SIG Node.
Milestone
Is this a BUG REPORT or FEATURE REQUEST?:
/kind bug
What happened:
The kubelet flag
--cpu-cfs-quota
does not work when pod cgroups are enabled.The container cgroup is left unbounded but the pod cgroup is bounded.
What you expected to happen:
No cpu quota enforcement should happen at any level of the cgroup tree.
How to reproduce it (as minimally and precisely as possible):
Set --cpu-cfs-quota=false and run
kubectl run nginx --image=nginx --limits=cpu=1,memory=512Mi
, observe the cgroup tree and see the pod cgroup is bounded.Anything else we need to know?:
nope, fix is in flight
The text was updated successfully, but these errors were encountered: