Search
⌃K

Install kube-state-metrics

Install kube-state-metrics to enjoy a richer custom dashboards experience
​kube-state-metrics is a simple service that listens to the Kubernetes API server and generates metrics about the state of the objects.
groundcover can automatically install kube-state-metric for you, and by enabling groundcover's custom metrics scraper - the metrics will automatically be populated to groundcover metrics server and exposed using the managed Grafana service.

Enabling kube-state-metrics installation

The following helm override enables custom metrics scraping
kube-state-metrics:
enabled: true
# enable custom-metrics to automatically scrape the installed kube-state-metrics
# custom-metrics:
# enabled: true

Using Helm (Upgrading existing installation)

helm upgrade groundcover -n groundcover -f <overrides.yaml> --reuse-values

Using groundcover CLI (Using default scrape jobs)

groundcover deploy --kube-state-metrics # --custom-metrics