Integrations

Currently Dashboard implements metrics-server and Heapster integrations. They are using integration framework that allows to support and integrate more metric providers as well as additional applications such as Weave Scope or Grafana.

Metric integrations

Metric integrations allow Dashboard to show cpu/memory usage graphs and sparklines of resources running inside the cluster. In order to make Dashboard resilient to metric provider crashes there was --metric-client-check-period flag introduced. By default every 30 seconds health of the metric provider will be checked and in case it crashes metrics will be disabled.

metrics-server

For the sparklines and graphs to be shown in Dashboard you need to have metrics-server running in your cluster. It now uses dashboard-metrics-scraper that is deployed by default with Kubernetes Dashboard. It uses the Metrics API to gather metrics. The easiest way to check if metrics-server is installed and working properly is to run kubectl top pod or kubectl top node.

Heapster

Starting from Kubernetes Dashboard v2.0.0 Heapster is no longer maintained. Use metrics-server integration to enable metrics.


Copyright 2019 The Kubernetes Dashboard Authors