Interview Prep/Kubernetes/Scheduling, Resources & Autoscaling

Why can CPU limits cause latency even when the node is idle?

IntermediateConceptScheduling, Resources & Autoscaling
Answer

CPU limits are enforced by the CFS quota per 100 ms period: a multithreaded container can burn its quota in a few milliseconds and then be throttled until the next period, regardless of free CPU. Many teams set CPU requests but no CPU limits, and watch container_cpu_cfs_throttled_periods_total.

All Kubernetes questions Roadmap: Kubernetes core

More on Scheduling, Resources & Autoscaling