Skip to content

Kubernetes / Top Resources

Show first N (can be selected) resources by CPU, Memory, Disk usage

Tags

  • k8s
  • top

Panels

Top pods by CPU usage

Name Description Thresholds Repeat
Top $topN by CPU usage Show first $topN pods by CPU consumption.
Show CPU usage in millicores, where 1000 millicores = 1 core. In legend pods show as namespace/pod.
Default:
Mode: absolute
Level 1: 80

Top $topN by CPU usage Show first $topN namespaces by CPU consumption.
Show CPU usage as:
* CPU usage in millicores per pods
* CPU requests per pods
* CPU limits per pods
Default:
Mode: absolute
Level 1: 80

Top pods by Memory usage

Name Description Thresholds Repeat
Top $topN by Memory usage Show first $topN pods by Memory consumption.
In legend pods show as namespace/pod
Default:
Mode: absolute
Level 1: 80

Top $topN by Memory usage Show first $topN pods by Memory consumption.
Show Memory usage as:
* Memory usage per pod
* Memory requests per pod
* Memory limits per pod
Default:
Mode: absolute
Level 1: 80

Top pods by Disk usage

Name Description Thresholds Repeat
Top $topN by Disk usage (Reads and Writes) Show first $topN pods by Disk consumption. In legend pods show as namespace/pod Default:
Mode: absolute
Level 1: 80

Top $topN by Disk usage (Reads and Writes) Show first $topN pods by Disk writes/reads consumption.
Show Disk usage as:

* Disk reads per seconds
* Disk writes per seconds
Default:
Mode: absolute
Level 1: 80

Top throttled pods

Name Description Thresholds Repeat
Top $topN throttled pods, rate by seconds Show first $topN pods which were throttled by CPU limits.

Show as rate by container_cpu_cfs_throttled_seconds_total. It means that this graph should show how many time pod spend in throttling per second.
Default:
Mode: absolute
Level 1: 80

Top namespaces by CPU usage

Name Description Thresholds Repeat
Top $topN by CPU usage Show first $topN namespace by CPU consumption.
Show CPU usage in millicores, where 1000 millicores = 1 core.
Default:
Mode: absolute
Level 1: 80

Top $topN by CPU usage Show first $topN namespaces by CPU consumption.
Show CPU usage as:
* Sum of CPU usage in millicores in specified namespace
* Sum of CPU requests for all pods in specified namespace
* Sum of CPU limits for all pods in specified namespace
Default:
Mode: absolute
Level 1: 80

Top namespace by Memory usage

Name Description Thresholds Repeat
Top $topN by Memory usage Show first $topN namespace by Memory consumption. Default:
Mode: absolute
Level 1: 80

Top $topN by Memory usage Show first $topN namespaces by Memory consumption.
Show Memory usage as:
* Sum of Memory usage in millicores in specified namespace
* Sum of Memory requests for all pods in specified namespace
* Sum of Memory limits for all pods in specified namespace
Default:
Mode: absolute
Level 1: 80

Top namespaces by Disk usage

Name Description Thresholds Repeat
Top $topN by Disk usage (Reads and Writes) Show first $topN namespaces by Disk consumption Default:
Mode: absolute
Level 1: 80

Top $topN by Disk usage (Reads and Writes) Show first $topN namespaces by Disk writes/reads consumption.
Show Disk usage as:

* Disk reads per seconds
* Disk writes per seconds
Default:
Mode: absolute
Level 1: 80

Top nodes by CPU usage

Name Description Thresholds Repeat
Top $topN by CPU usage, % Show first $topN Kubernetes/OpenShift nodes by CPU consumption.
Show CPU usage as CPU total usage percent (CPU usage / CPU cores).

Because there are a lot CPU spaces this metric calculate as:

(1 - idle usage) * 100

! This panel doesn't work in restricted mode if kube-state-metrics doesn't have permission to scrape the following resources: nodes
Default:
Mode: absolute
Level 1: 80

Top $topN nodes by CPU usage Show first $topN Kubernetes/OpenShift nodes by CPU consumption.
Show CPU usage as:
* CPU cores per nodes
* CPU Load Average to last 5 minutes
* CPU total usage percent (CPU usage / CPU cores)

! This panel doesn't work in restricted mode if kube-state-metrics doesn't have permission to scrape the following resources: nodes
Default:
Mode: absolute
Level 1: 80

Top nodes by Memory usage

Name Description Thresholds Repeat
Top $topN nodes by Memory usage, % Show first $topN Kubernetes/OpenShift nodes by Memory consumption.
Show Memory usage in percents from total node memory.

As base metrics use node_memory_MemAvailable_bytes to show used bytes per node

! This panel doesn't work in restricted mode if kube-state-metrics doesn't have permission to scrape the following resources: nodes
Default:
Mode: absolute
Level 1: 80

Top $topN nodes by Memory usage Show first $topN Kubernetes/OpenShift nodes by Memory consumption.
Show Memory usage as:

* Memory on node
* Memory usage percent

! This panel doesn't work in restricted mode if kube-state-metrics doesn't have permission to scrape the following resources: nodes
Default:
Mode: absolute
Level 1: 80

Top nodes by Disk usage

Name Description Thresholds Repeat
Top $topN by Disk usage (Reads and Writes) Show first $topN Kubernetes/OpenShift nodes by Disk consumption

! This panel doesn't work in restricted mode if kube-state-metrics doesn't have permission to scrape the following resources: nodes
Default:
Mode: absolute
Level 1: 80

Top $topN nodes by Disk usage Show first $topN Kubernetes/OpenShift nodes by Disk writes/reads consumption.
Show Disk usage as:

* Disk reads per seconds
* Disk writes per seconds

! This panel doesn't work in restricted mode if kube-state-metrics doesn't have permission to scrape the following resources: nodes
Default:
Mode: absolute
Level 1: 80