One of the pains of playing around with Metrics server is that it sometimes doesn’t connect to the node. In my case it was unhealthy and complaining about x509 certs.

Not for prod but here’s a resolution:

Install Metrics Server

kubectl apply -f

Apply the patch:

kubectl -n kube-system patch deployment metrics-server --type=json \
-p='[{"op": "add", "path": "/spec/template/spec/containers/0/args/-", "value": "--kubelet-insecure-tls"}]]'

thanks to @awalker125