Kubernetes PSI: the CPU pressure kubectl top won't show you
Your dashboards say the node is busy. They don't say whether your pods are actually getting work done or standing in line for a core. Kubernetes PSI (Pressure Stall Information) answers that second question, and a hands-on post published on the Kubernetes blog on December 1, 2026 makes the case with numbers: two runs, identical CPU usage in kubectl top, and CPU pressure of 0.33% in one versus 99.63% in the other.
If you run latency-sensitive services, and AI inference endpoints are the textbook example, that gap is where unexplained p99 regressions tend to hide. This piece walks through the experiment, explains how to read the metrics, and shows how to put them to work in your monitoring stack.
The background
CPU utilization tells you how much of the time your processors were busy. It tells you nothing about the queue. A two-CPU node is "100% utilized" whether it runs two tasks, one per core, or six tasks fighting over the same two cores. In the second case four tasks are always waiting, and that waiting turns directly into latency.
The Linux kernel has measured that waiting time since version 4.20. It is called Pressure Stall Information, and it covers three resources: CPU, memory and I/O. Kubernetes surfaces it through the kubelet at node, pod and container level. The feature first shipped in 1.33 and has been stable since Kubernetes v1.36, where the KubeletPSI feature gate is locked to true. There is nothing left to switch on in the kubelet.
Reading Kubernetes PSI metrics: some, full and avg10
PSI reports two measurements, described in the official documentation:
- some: the share of time during which at least one task was ready to run but stalled on the resource. This is your early warning for contention.
- full: the share of time during which every non-idle task was stalled at once. That points to a severe shortage where nothing makes progress.
Each comes in four flavours: avg10, avg60 and avg300, moving averages over 10 seconds, 60 seconds and 5 minutes expressed as a percentage of wall-clock time, plus total, a cumulative counter in microseconds. A some.avg10 of 25% means that over roughly the last ten seconds, at least one task was waiting for CPU a quarter of the time.
Where the numbers live.
You have two sources. The kubelet Summary API returns usage and pressure side by side:
kubectl get --raw "/api/v1/nodes/<node-name>/proxy/stats/summary" \
| jq '{cores: (.node.cpu.usageNanoCores / 1e9), psi: .node.cpu.psi}'
Per-pod values sit under .pods[].cpu.psi. For Prometheus users, the kubelet's /metrics/cadvisor endpoint carries the same signal per container as container_pressure_cpu_waiting_seconds_total, alongside container_pressure_memory_waiting_seconds_total and container_pressure_io_waiting_seconds_total.
avg10 versus avg300.
The documentation offers a handy heuristic: when avg10 is well above avg300 for the same resource, you are looking at a recent spike rather than a lasting bottleneck. If avg300 starts climbing too, the problem is settling in. The author of the experiment leans on avg10 during investigations because it reacts quickly when load changes.
Three runs that expose hidden CPU pressure
The test ran on a kind cluster (kind v0.33.0, Kubernetes v1.36.1) on a four-CPU machine. The worker node was pinned to two CPUs and the control plane to the other two, so they never competed. The workload is a pod running busy loops, each of which keeps one CPU fully occupied whenever it gets one. For every run, the author waited 60 seconds, then sampled the node's CPU pressure twelve times, ten seconds apart, and averaged the readings.
Run A: busy but healthy
One pod, two loops, two CPUs, so each loop owns a core. kubectl top nodes reports 2001m on the worker: both CPUs are saturated. Measured CPU pressure: 0.33%. The loops almost never wait. Utilization is maxed out, yet the work fits.
Run B: same usage, maximum pressure
Three pods, six loops, still two CPUs. kubectl top still shows 2001m. CPU pressure, however, jumps to 99.63%: nearly all the time, some loop is waiting for a core.
The per-pod view is even more misleading. In run A the single pod consumed 1991m. In run B each pod shows only 616m to 708m while still running two loops. Those lower numbers don't mean the pods need less CPU; they're splitting two cores three ways. Nothing in kubectl top reveals the waiting, while pod-level PSI does, with 69%, 99.73% and 99.79% on the final reading.
One more trap: both runs display CPU(%) as 50%, because Kubernetes counts all four of the machine's CPUs as node capacity and has no idea about the two-core restriction. A utilization percentage can be wrong in two directions at once.
Run C: idle node, throttled pod
The last scenario goes back to one pod with two loops, this time with a 500m CPU limit. The worker now uses about 0.51 of its two CPUs (517m, displayed as 12%), so three quarters of its capacity sits idle. Even so, the node's some.avg10 averages 75.23%.
The throttling counter explains why. container_cpu_cfs_throttled_periods_total shows the container was throttled in 1905 CFS periods since it started. The loops burn through their quota and then wait for the next period. The practical consequence: adding nodes would not reduce this pressure as long as the limit stays at 500m.
Putting PSI to work in your investigations
The experiment boils down to a simple decision grid, read alongside utilization:
- High utilization, low pressure (run A): the CPUs are busy but the work fits. Utilization alone is not a problem.
- High utilization, high pressure (run B): there is more runnable work than CPU. Look at what else is scheduled on the node, at CPU requests, and at pod placement.
- Pressure on a pod while the node has headroom (run C): the pod is probably held back by its own limit. Check the throttling counters.
In Prometheus, a sensible starting point is to chart rate(container_pressure_cpu_waiting_seconds_total[5m]), the fraction of time spent waiting for CPU, next to rate(container_cpu_cfs_throttled_periods_total[5m]) / rate(container_cpu_cfs_periods_total[5m]) to isolate throttling. Together, the two curves separate noisy-neighbour contention from a limit that is simply set too low.
Crucially, the author declines to name a universal threshold. A pressure level that is perfectly normal for a batch job could be a real problem for a latency-sensitive API. Compare pressure with each workload's own baseline, and check whether it rises together with latency or queue depth.
Node prerequisites
PSI only shows up when your nodes meet a few conditions: Linux kernel 4.20 or newer, built with CONFIG_PSI=y, and running cgroup v2. Some distributions compile PSI in but disable it by default, in which case you add psi=1 to the kernel command line. Two quick host checks: stat -fc %T /sys/fs/cgroup should print cgroup2fs, and cat /proc/pressure/cpu should show both some and full lines.
What this means for AI teams
Inference services are precisely the use case here: the post's author works on latency-sensitive AI inference services. When latency climbs in that kind of service, the cause can be more processing inside the service, waiting for CPU, or a slow call to a downstream dependency. Kubernetes PSI isolates the second one, which CPU utilization hides.
For an MLOps team, that translates into a short list of actions:
- Add pod-level CPU pressure to inference dashboards, next to utilization and p95/p99 latency. Without it, a pod under contention looks like an under-used pod, exactly as run B showed.
- Audit CPU limits on latency-sensitive workloads. Run C is a common trap: a pod throttled by its own limit on a node that is three quarters empty. CPU-bound steps around a model, such as tokenization, serialization and request routing, are especially exposed.
- Alert on each service's baseline, not a generic threshold. A training or batch job can live with high pressure; a real-time generation API cannot.
- Check your fleet before you depend on it. PSI needs cgroup v2 and a recent kernel on every node. If some node pools still run cgroup v1, that is one more reason to migrate.
- Correlate with application traces before drawing conclusions. The post is explicit about this: PSI tells you there is waiting, while application metrics and traces tell you whether that waiting actually explains the latency you see.
PSI does not replace your existing observability. It closes one specific blind spot: the difference between a resource that is busy and a resource that is saturated.
Key takeaways
- PSI measures time spent waiting for CPU, memory or I/O, and it has been stable in Kubernetes since v1.36 at node, pod and container level.
- Same CPU usage (2001m), pressure of 0.33% or 99.63% depending on how many tasks compete:
kubectl topcannot tell the difference. - High pressure on a lightly loaded node (75.23% at 517m) points to a tight CPU limit and throttling, not to a lack of nodes.
- Prerequisites: kernel 4.20+,
CONFIG_PSI=y, cgroup v2. - No universal threshold: compare CPU pressure with each workload's baseline and its latency.
Industrialising AI agents? SeedVision offers 3-5 day AI audits and 15-30 day production rollouts. See the packages or book a 30-min call.