Skip to content

Instantly share code, notes, and snippets.

@robandpdx
Last active April 4, 2023 14:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robandpdx/bf52e9987d2ef44b9bd20593aca0869c to your computer and use it in GitHub Desktop.
Save robandpdx/bf52e9987d2ef44b9bd20593aca0869c to your computer and use it in GitHub Desktop.
Running metric-server on Kind Kubernetes

Running metric-server on Kind Kubernetes

Deploy latest metric-server release.

kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/download/v0.5.0/components.yaml

You need to add argument --kubelet-insecure-tls to the metrics-server container.

kubectl patch -n kube-system deployment metrics-server --type=json \
  -p '[{"op":"add","path":"/spec/template/spec/containers/0/args/-","value":"--kubelet-insecure-tls"}]'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment