Enable Kubelet Serving Certificates in Kubernetes Setup by Kubeadmin
Setting up a Kubernetes cluster with a newly deployed metrics server often results in the following error message:
Failed to scrape node, err=Get https://172.18.0.3:10250/metrics/resource: x509: cannot validate certificate for 172.18.0.3 because it doesn't contain any IP SANs node=kind-worker
. This can be frustrating. In this post, I will demonstrate how to solve this problem in KinD.