kube-state-metrics
Simple service that listens to the Kubernetes API server and generates metrics about object health.
Why consider kube-state-metrics?
kube-state-metrics (KSM) is an open-source add-on service written in Go by Kubernetes SIGs. It listens directly to the Kubernetes API server, converting the state of Pods, Deployments, Nodes, PVCs, and DaemonSets into standard Prometheus-compatible telemetry metrics.
Learn kube-state-metrics by building
Practical setup notes, real use cases, and copy-ready examples in one focused guide.
In this guide2 sections
Overview of kube-state-metrics
kube-state-metrics translates Kubernetes resource lifecycles and container crash-loops into actionable metrics.
Quickstart
kubectl apply -f examples/standard/kube-state-metrics is licensed under the Apache License Version 2.0.
Related tools
More options with a similar category or technology profile.
diskus
Minimal, fast alternative to du -sh written in Rust using multi-threaded directory traversal.
peco
Simplistic interactive filtering tool for Unix pipelines, process lists, and file trees.
Dapr CLI
Command-line tool for managing Dapr distributed application runtime environments and sidecars.
Freeze
Generate beautiful image screenshots and SVGs of code snippets and terminal outputs.