Monitoring Kubernetes with Heapster
Heapster is a Kubernetes project that provides a robust monitoring solution for Kubernetes clusters. It runs as a pod (of course), so it can be managed by Kubernetes itself. Heapster supports Kubernetes and CoreOS clusters. It has a very modular and flexible design. Heapster collects both operational metrics and events from every node in the cluster, stores them in a persistent backend (with a well-defined schema), and allows visualization and programmatic access. Heapster can be configured to use different backends (or sinks, in Heapster's parlance) and their corresponding visualization frontends. The most common combination is InfluxDB as the backend and Grafana as the frontend. The Google Cloud Platform integrates Heapster with the Google monitoring service. There are many other less common backends, as follows:
- Log
- Google Cloud monitoring
- Google Cloud logging
- Hawkular-Metrics (metrics only)
- OpenTSDB
- Monasca (metrics only)
- Kafka (metrics only)
- Riemann (metrics...