Check the backends' resources¶
Infra › Resources shows how much CPU, memory and disk the active context's backends use, and how much data they hold: pubsub, state, the event store, the api and the WorkManager. It is read only.
-
Open it from the palette:
Ctrl+P, typeInfra › Resources,Enter. -
Each backend is a row with its roles, its total CPU and memory, and its data size.
data unknownmeans the api has no data-size query for that backend. - Below it, each pod: CPU and memory as a bar against the pod's limit (or its
request when it has no limit), with the numbers (
10m of 2.00 limit). A bar turns yellow from three quarters of the bound and red from nine tenths. A pod with neither shows only its numbers. - The Storage column (api 0.31.0+) gives the backend's volumes' measured sizes summed
and their growth per day;
(partial)means a volume is not measured and left out. After the pods, each volume (▪ claim (storage class)) with the disk it lives on and its size and growth, orunknownwith 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. - Above the backends, Disks lists each disk the volumes live on (an NFS export, a
node's disk), fullest first: how full it is (yellow from 80 %, red from 90 %), its free
space, full in at the services' growth (other workloads may fill it sooner), and a bar
of the used part: each service
█, other workloads and the system▓, free░. Without volumes (an api before 0.31.0) there is no Disks table.
The view reads when you open it and every 15 s while it is shown (CPU is averaged over the api's rate window, so faster shows nothing new); the header says when it last read. If a read fails, the last rows stay and the header says they are stale.
When the header says the context's api has no resources configured, the api has no
Prometheus or backends set up for it (its resources.json); with no Resources
service, the api is older than 0.19.0.