English edition · cyberattaques.org in FrenchFrançais
IT news

Kubernetes: kubelet PSI metrics show CPU waiting that utilization figures hide

A post on the Kubernetes blog shows how Linux PSI metrics, exposed by the kubelet and stable since v1.36, measure how long workloads wait for CPU. Teams running clusters, especially for latency-sensitive services, are the audience.

What to do now Illustration photo (server rack monitoring dashboard)

The official Kubernetes blog published a hands-on piece on 1 December 2026 about using Pressure Stall Information (PSI), a Linux kernel feature, to diagnose resource contention in clusters. The author works on latency-sensitive AI inference services and explains why CPU utilization alone does not explain why requests slow down.

The core point: a node can be fully busy with two tasks on two CPUs, or with six tasks fighting over the same two CPUs. Utilization reads the same in both cases, yet the amount of time processes spend waiting is very different. PSI is the measure of that waiting.

To demonstrate it, the author ran the same workload in two configurations on a node restricted to two CPUs. Both times, kubectl top reported 2001m of CPU in use, meaning both processors were saturated. CPU pressure, however, was 0.33% in the first run and 99.63% in the second.

The "some" value is the share of time during which at least one task was ready to run but stuck waiting for CPU. The kernel publishes it as rolling averages over 10, 60 and 300 seconds (avg10, avg60, avg300); an avg10 of 25% means that over roughly the last ten seconds at least one task was waiting a quarter of the time. The author relies on avg10 because it responds quickly to workload changes. PSI also reports "full", the share of time when every task was waiting at once, which the post does not use.

In Kubernetes, the kubelet exposes this data, and the metrics are stable as of version 1.36. The kubelet Summary API, reachable through the API server proxy at /api/v1/nodes/<node>/proxy/stats/summary, reports CPU usage alongside PSI for the node, each pod and each container, with per-pod values under .pods[].cpu.psi. For Prometheus users, the kubelet's /metrics/cadvisor endpoint carries the same per-container signal as container_pressure_cpu_waiting_seconds_total.

For administrators, the value lies in telling a well-used node apart from a genuinely overloaded one, something utilization-only dashboards cannot do. The available excerpt of the post does not describe the rest of the experiment or the exact configurations used.

Action plan

What to do now

  1. Confirm clusters run Kubernetes 1.36 or later, the release from which the kubelet PSI metrics are stable.
  2. Query the kubelet Summary API on a busy node and compare CPU usage with the psi values for the node and its pods.
  3. Add container_pressure_cpu_waiting_seconds_total from /metrics/cadvisor to Prometheus scraping and dashboards.
  4. Include CPU pressure (the avg10 of the some value) in latency investigations alongside utilization.

Sources