concept Heapster in category kubernetes

appears as: Heapster
Kubernetes in Action

This is an excerpt from Manning's book Kubernetes in Action.

Heapster runs as a pod on one of the nodes and is exposed through a regular Kubernetes Service, making it accessible at a stable IP address. It collects the data from all cAdvisors in the cluster and exposes it in a single location. Figure 14.8 shows the flow of the metrics data from the pods, through cAdvisor and finally into Heapster.

Figure 14.8. The flow of metrics data into Heapster

The arrows in the figure show how the metrics data flows. They don’t show which component connects to which to get the data. The pods (or the containers running therein) don’t know anything about cAdvisor, and cAdvisor doesn’t know anything about Heapster. It’s Heapster that connects to all the cAdvisors, and it’s the cAdvisors that collect the container and node usage data without having to talk to the processes running inside the pods’ containers.