GuideThe pod is slow and under its CPU limit. Is it throttled?
Kubernetes enforces a CPU limit by making the container wait. CPU usage alone will not show you that.
A pod can sit below its limit on every dashboard and still be held back in many of its scheduling intervals. The evidence is on the node, in the container’s control group.
What a CPU limit does
The Kubernetes documentation is direct about it: “cpu limits are enforced by CPU throttling.” During each scheduling interval the kernel checks whether the limit is exceeded; if so, it waits before allowing that control group to resume.
A container is not terminated for using too much CPU. Memory is different: memory limits are enforced with out-of-memory kills. So a memory problem ends in a restart you can see, and a CPU limit ends in slowness you cannot.
Step 1: read the limit
kubectl get pod POD -o jsonpath='{.spec.containers[*].resources}'
One CPU is one physical or virtual core. 0.1 and 100m are the same quantity, and nothing finer than 1m is allowed. A limit of 500m is half a core in every scheduling interval.
Step 2: look at usage, and do not stop there
kubectl top pod POD --containers
This needs the metrics-server. In the documentation’s own example a container trying to use two CPUs under a limit of one shows 974 milliCPU: just under the limit, because it is being throttled. Usage pinned near the limit is a hint. Usage well under the limit proves nothing, because a container with many threads can spend an interval’s budget early and wait out the rest.
Step 3: read the throttling on the node
cat /proc/PID/cgroup
mount -t cgroup2
cat /sys/fs/cgroup/GROUP/cpu.max /sys/fs/cgroup/GROUP/cpu.stat
On the node, find a process of the container and its control group; getting from a pod to that process depends on your container runtime, so use its own tooling. The second command prints where cgroup v2 is mounted. cpu.max is the limit as the kernel holds it. In cpu.stat, take two readings of nr_periods, nr_throttled and throttled_usec and subtract: the share of intervals throttled, and the time lost. If they read zero and the container is still slow, read cpu.stat.local: the kernel documentation says it can include throttling inherited from a parent group’s limit. CPU throttling in containers walks through these files and cpu.pressure beside them.
What requests change
A request is not a limit. The documentation says the CPU request “typically defines a weighting”: on a contended node, workloads with larger requests get more CPU time. A request does not stop throttling; only the limit sets the ceiling.
A pod is Guaranteed when every container’s CPU limit equals its request. Under the static CPU manager policy, containers in a Guaranteed pod with whole-number CPU requests are given exclusive CPUs. The page does not say whether those containers are still throttled, so check cpu.stat rather than assume.
What this cannot tell you
Why the container wanted that much CPU. It may need a higher limit. It may be spending CPU because something else is short, such as memory. The files show the limit was hit; they do not show what drove the container into it.
Where Commotion begins
Every step above is done by hand, on one machine, while the incident is still happening. Commotion makes the judgement for every process on the node, each second: it judges a process on measured waiting, not on usage, and names which of CPU, memory, disk or network is at the root, with the measurement that proves it.
It runs beside the monitoring you already have. Read one incident, or see what Early Access involves.
Checked on 3 December 2026 against: Kubernetes: resource management for pods and containers, Kubernetes: assign CPU resources to containers and pods, Kubernetes: pod quality of service classes, Kubernetes: CPU management policies, Kernel documentation: control group v2, cgroups(7), Kernel documentation: PSI, pressure stall information. Command output differs between versions; read your own manual pages.
Stop guessing the cause from graphs.
Sign-up is not open yet; write to commotion@littlebit.in to ask about a trial.