article --summary
The summary
The author argues that CPU utilization alone can't show whether workloads are stuck waiting for processor time. They explain Pressure Stall Information, which measures how often at least one task is ready to run but blocked, and how the kubelet Summary API and cAdvisor expose it for nodes, pods, and containers.
To test this, they ran the same busy-loop workload on a two-CPU kind worker. With two loops, utilization read 2001m and pressure stayed under 1%, but with six loops on the same CPUs, usage looked identical while pressure reached about 99.6%. A pod capped at 500m on a mostly idle node still showed roughly 75% pressure, which the throttling counters traced to its own CPU limit.
The takeaway is to read high utilization alongside pressure, then check scheduling and limits when pressure rises. The author also recommends comparing pressure against each workload's own baseline rather than a universal threshold. The appendix lists the commands to reproduce the setup on a cgroup v2 Linux host.
Editorial note: This is a summary of an article first published by Kubernetes Blog. The full piece is on their site.