Skip to content

Tips for Kind

Tibor Šimko edited this page Jan 18, 2022 · 3 revisions

Contents

  1. Instal metrics-server locally

Install metrics-server locally

If kubectl top nodes doesn't work for you locally on Kind, it is because you need Kubernetes metrics-server installed. Please follow these steps:

$ 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.