Check the backends' resources¶
Goal: see how much CPU, memory and disk the active context's backends use, and how much data they hold: the api, the WorkManager, the workers' runtime, pubsub, state and the event store.
Prerequisites
- Signed in (any user: the view only reads).
- The context is active, and its api is 0.19.0 or newer with its resources configured
(
resources.json, see the api's docs). Storage needs api 0.31.0 or newer.
Steps¶
-
Open Infra > Resources (route
/infra/resources). The line under the title says the view reads every 15 s while it is shown; the time of the last read is on the right.
-
Read Disks at the top: each disk the volumes live on (an NFS export, a node's local disk), fullest first. How full it is (amber from 80 %, red from 90 %), its free space of its size, full in at the services' growth per day (other workloads may fill it sooner), and a bar of the used part: each service's volumes, then other and system (other workloads, the OS, images, logs), then free. Without volumes (an api before 0.31.0) there is no Disks section.
- Read a backend's card: its name and roles (
api,workmanager,workers,pubsub,state,eventstore), its total CPU and memory, and its data size (data unknown when the api has no data-size query for it). - Read its pods: one row per running pod, CPU (averaged over the api's rate window,
31m= 0.031 cores) and memory working set, each with a bar against the pod's limit (else its request) and the numbers, e.g.10m of 2.00 limit. The bar turns amber from 75 % and red from 90 %; a pod with neither shows only its numbers. -
Read its storage: the header's storage sums its volumes' measured sizes, with (partial) when a volume is not measured, and the growth per day. Below the pods, one row per volume: the claim and its storage class, the disk it is on, its size and its growth, or unknown with the reason. The size comes from a disk-usage collector that measures the volume's directory every 5 minutes: the kubelet's volume figures are the whole disk's, never the volume's.

What you should see¶
- A card per backend, its pods' bars moving as the view reads again every 15 s (faster shows nothing new: CPU is averaged over the api's rate window).
- If a read fails, the last cards stay under a stale: … line with the reason.
Troubleshooting¶
| Symptom | Cause and fix |
|---|---|
| This context's api has no resources configured (…) | The api has no Prometheus or backends set up for it (its resources.json). |
| This context's api has no Resources service: it needs api 0.19.0 or later. | The api is older than 0.19.0. |
| No Disks section, no storage | The api is older than 0.31.0, or no backend has volumes. |
| A volume says unknown | The disk-usage collector has no measurement for it; the reason follows. |
| No running pod matches this backend | None of its pods runs, or the api's configuration names other pods. |
More: Views > Resources.