Metrics are a key component that enables many interesting use cases like self-healing, autoscaling, and alerting. Kubernetes, as a distributed platform, has a very strong offering around metrics, with a powerful yet generic and flexible metrics API.
Kubernetes always had support for metrics via cAdvisor (integrated into kube-proxy) and Heapster (https://github.com/kubernetes-retired/heapster). However, cAdvisor was removed in Kubernetes 1.12 and Heapster was removed in Kubernetes 1.13. You can still install them (like we did earlier on minikube using the Heapster add-on), but they aren't part of Kubernetes and aren't recommended anymore. The new way to do metrics on Kubernetes is by using the metrics API and the metrics server (https://github.com/kubernetes-incubator/metrics-server).




















































