Skip to content

Install k8s `metrics server`

Marco Vidal García edited this page May 19, 2021 · 1 revision

Install metrics-server

If kubectl top nodes doesn't work for you, it's because you need metrics-server installed.

$ kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml
$ kubectl edit -n kube-system deployment/metrics-server
# Add `--kubelet-insecure-tls` to `spec.template.spec.containers[0].args` and save.
Clone this wiki locally