helm repo add stable https://kubernetes-charts.storage.googleapis.com/
helm repo update
Install matrics server
helm install metrics-server stable/metrics-server -f values.yaml
NAME: metrics-server
LAST DEPLOYED: Sun Dec 29 09:56:31 2019
NAMESPACE: kubernetes-dashboard
STATUS: deployed
REVISION: 1
NOTES:
The metric server has been deployed.
In a few minutes you should be able to list metrics using the following
command:
kubectl get --raw "/apis/metrics.k8s.io/v1beta1/nodes"