Helm chart for end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator
open sourceApache-2.0self-hostablefree
kube-prometheus-stack is the Prometheus community's Helm chart for monitoring a Kubernetes cluster: one install brings the Prometheus Operator and, through it, Prometheus and Alertmanager, plus Grafana, Node exporter and kube-state-metrics as dependent charts. It ships curated Grafana dashboards and Prometheus alerting and recording rules, mostly from the kubernetes-mixin project, so the cluster's components are scraped and graphed out of the box. It packages the kube-prometheus project (prometheus-operator/kube-prometheus), which is the jsonnet way to build the same stack; the chart was once named prometheus-operator. It is Apache-2.0 and published as an OCI artifact and in the prometheus-community Helm repository.
Ways to install
On Kubernetes
Problems it solves
- set up monitoring for a new Kubernetes cluster with one install instead of wiring each piece by hand
- get Grafana dashboards for nodes, pods, namespaces and the control plane without building them myself
- a sensible default set of alerts for a Kubernetes cluster, like nodes running out of disk or pods crash looping
- install Prometheus, Alertmanager and Grafana together on Kubernetes and keep them upgradable
- monitor node CPU, memory and disk plus the state of deployments and pods in my k8s cluster
- the standard Helm chart everyone uses to monitor Kubernetes with Prometheus
- replace a managed monitoring add-on with a self-hosted Prometheus stack on our EKS or GKE clusters
- see why pods are getting OOM killed and which namespaces use the most resources
- monitor Windows nodes in a mixed Kubernetes cluster alongside Linux nodes
- deploy the same monitoring stack to every cluster from GitOps with values files
Features
- installs the Prometheus Operator, Prometheus and Alertmanager
- installs kube-state-metrics, Node exporter and Grafana as dependent charts, each can be turned off
- optional Windows exporter for Windows nodes
- curated Grafana dashboards loaded through ConfigMaps
- default Prometheus alerting and recording rules for Kubernetes
- distributed as an OCI artifact on ghcr.io and in the prometheus-community Helm repository
- signed charts
Limitations
Alternatives
The same job
These do what kube-prometheus-stack does.
- VictoriaMetrics Fast, cost-effective and scalable time series database for monitoring, and long-term storage for Prometheus
- Prometheus Operator Kubernetes native deployment and management of Prometheus and related monitoring components
