← All dashboards

Used | Wasted Resources

Dashboard to show the resource requests vs allocatable in the cluster

This dashboard will show you:

  • Cluster Overview
    • Allocatable vs Requested vs Usage Memory and CPU
  • Namespace Overview
    • Allocatable vs Requested vs Usage Memory and CPU
    • Memory/CPU Request vs Memory/CPU Limit vs Memory/CPU live of all namespace pods.
  • App Overview
    • Allocatable vs Requested vs Usage Memory and CPU by APP
    • Allocatable vs Requested vs Usage Memory and CPU by pod.
  • Node Overview
    • Allocatable vs Usage Memory and CPU of all Nodes.
    • Allocatable vs Usage Memory and CPU of a single Node.

To use this app you must have configured in your cluster:

Your Prometheus scrap config for kube-state-metrics and metrics-server-exporter should be like this: (in my example, this scraps all services from cluster with prometheus label scrap: true)

- job_name: 'kubernetes-service-endpoints'
  kubernetes_sd_configs:
  - role: endpoints
  relabel_configs:
  - source_labels: [__meta_kubernetes_service_annotation_prometheus_io_scrape]
    action: keep
    regex: true
  - source_labels: [__meta_kubernetes_service_annotation_prometheus_io_scheme]
    action: replace
    target_label: __scheme__
    regex: (https?)
  - source_labels: [__meta_kubernetes_service_annotation_prometheus_io_path]
    action: replace
    target_label: __metrics_path__
    regex: (.+)
  - source_labels: [__address__, __meta_kubernetes_service_annotation_prometheus_io_port]
    action: replace
    target_label: __address__
    regex: ([^:]+)(?::\d+)?;(\d+)
    replacement: $1:$2
  - action: labelmap
    regex: __meta_kubernetes_service_label_(.+)
  - source_labels: [__meta_kubernetes_namespace]
    action: replace
    target_label: kubernetes_namespace
  - source_labels: [__meta_kubernetes_service_name]
    action: replace
    target_label: kubernetes_name
  - source_labels: [__meta_kubernetes_pod_name]
    action: replace
    target_label: kubernetes_pod_name
  - source_labels: [__meta_kubernetes_pod_name]
    action: replace
    target_label: pod

Dashboard revisions

RevisionDecscriptionCreated

Reviews

Login or Sign up to write a review

Reviews from the community

Get this dashboard

Data source:

Dependencies:

Import the dashboard template:

or

Download JSON

Docs: Importing dashboards

Downloads: 1,601