TROUBLESHOOTING:

with minikube:

  1. if promtheus cannot get metrics from kubelet and cAdvisor, try start minikube with following flags: --extra-config=kubelet.authentication-token-webhook=true --extra-config=kubelet.authorization-mode=Webhook minikube flags

these flags will change default kubelet settings to NOT validate tls sertificates