minikube addons enable metrics-server

Category: Kubernetes & Containers

minikube addons enable metrics-server

Enable the metrics-server addon

Installs the metrics server, the component that powers kubectl top nodes and pod autoscaling. Without it, kubectl top reports an error about the Metrics API. Enable it before setting up HorizontalPodAutoscalers.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.