/heapster-1

Monitor container resource usage of a Kubernetes cluster

Primary LanguageGoApache License 2.0Apache-2.0

Heapster

GoDoc Build Status

Heapster enables Container Cluster Monitoring and Performance Analysis.

Heapster currently supports Kubernetes and CoreOS natively. It can be extended to support other cluster management solutions easily. Heapster collects and interprets various signals like compute resource usage, lifecycle events, etc, and exports cluster metrics via REST endpoints. Note: Some of the endpoints are only valid in Kubernetes clusters

Heapster supports multiple sources of data. More information here.

Heapster supports a pluggable storage backend. It supports InfluxDB with Grafana, Google Cloud Monitoring, Google Cloud Logging and Hawkular. We welcome patches that add additional storage backends. Documentation on storage sinks here The current version of Storage Schema is documented here.

Running Heapster on Kubernetes

To run Heapster on a Kubernetes cluster with,

Running Heapster on Openshift

Using Heapster to monitor an Openshift cluster requires some additional changes to the Kubernetes instructions to allow communication between the Heapster instance and Openshift's secured endpoints. To run a combination of Heapster and Hawkular-Metrics, follow this guide.

Running Heapster on CoreOS

Heapster communicates with the local fleet server to get cluster information. It expected cAdvisor to be running on all the nodes. Refer to this guide.

Running in other cluster management systems.

Heapster can be used to enable cluster-wide monitoring on other cluster management solutions by running a simple cluster-specific buddy container that will help Heapster with discovery of hosts.

Running in standalone mode.

It is also possible to run Heapster standalone on a host with cAdvisor using this guide.

Troubleshooting guide here

Community

Contributions, questions, and comments are all welcomed and encouraged! Heapster and cAdvisor developers hang out in the #google-containers room on freenode.net. You can also reach us on the google-containers Google Groups mailing list.