Kubernetes Workloads CPU and Memory Metrics

Simple dashboard for observing your Kubernetes Deployment CPU and Memory usage.

Kubernetes Workloads CPU and Memory Metrics screenshot 1
Kubernetes Workloads CPU and Memory Metrics screenshot 2
Kubernetes Workloads CPU and Memory Metrics screenshot 3
Kubernetes Workloads CPU and Memory Metrics screenshot 4
Kubernetes Workloads CPU and Memory Metrics screenshot 5
Kubernetes Workloads CPU and Memory Metrics screenshot 6
Kubernetes Workloads CPU and Memory Metrics screenshot 7

Simple dashboard for observing your Kubernetes Deployment CPU and Memory usage based on Kube State Metrics for Deployment only.

Requirements

  • Prometheus
  • Kube State Metrics
  • Kubernetes cAdvisor

Built-in features

  • filters: you could filters your Deployment based on namespace, deployment and pods
  • summary rows: you could see CPU and memory usage per deployment. It’s aggregated by sum from all pods CPU and memory usage within the deployment. You can see also the CPU and memory request / limit config on this panel
  • pods resource usage rows: you could see repeatable rows based on num of pods which available on the deployment. You can see CPU and Memory usage specifically for selected pods

Testing

  • Grafana version: 9.5.3
  • K8s distribution: Minikube
  • Testing tools: stress-ng

Fixes

2 Aug 2024

  • set tooltip mode in all line chart panels to “All”
  • fix aggregate on cpu limit query for the deployment
  • fix aggregate on memory limit query for the deployment

1 Sep 2024

  • add filter for statefulset and daemonset
Revisions
RevisionDescriptionCreated
Kubernetes

Kubernetes

by Grafana Labs
Grafana Labs solution

Monitor your Kubernetes deployment with prebuilt visualizations that allow you to drill down from a high-level cluster overview to pod-specific details in minutes.

Learn more

Get this dashboard

Import the dashboard template

or

Download JSON

Datasource
Dependencies