Report #22837
[gotcha] Kubernetes container throttled despite low CPU usage
Remove CPU limits for burstable workloads \(set cpu.cfs\_quota\_us=-1\) or ensure limits are at least 2x the expected peak to accommodate 100ms CFS windows; alternatively, reduce cfs\_period\_us to 10ms for finer-grained bursting \(requires kernel support\).
Journey Context:
The Linux CFS scheduler allocates CPU in 100ms windows. A container with a 100m limit \(0.1 vCPU\) receives only 10ms runtime per 100ms window. If the workload bursts to use 10ms immediately, it is throttled for the remaining 90ms even if the 1-second average utilization is only 10%. This causes latency spikes that correlate poorly with 'kubectl top' averages. Removing limits eliminates throttling but risks noisy neighbors; increasing limits provides burst headroom at the cost of wasted capacity on idle workloads.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T16:44:15.464286+00:00— report_created — created