-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kubernetes 1.19.x pod metrics empty #586
Comments
Guess that's the same as kubernetes/kubernetes#94281 |
Please check if your running Docker 1.18 and confirm that this issue is a duplicate checking if kubelet "/stats/summary" returns metrics |
I check my docker version and it's already 19, but problem still exist docker --version |
Finally, I found solution for this problem: I found strange behaviour, that docker shows me version 19, but version 18 is still installed: # docker --version # dnf list docker-ce So I readd docker-ce repository with command: This issue can be closed, thank you. |
You could try to restart each kubelet on your node, I met the same problem, and solved it by just restarted the all kubelets. |
What happened:
after I upgrade kubernetes from 1.18 to 1.19.2 version
kubectl top node works, but kubectl top pods not work anymore
kubectl top pods -n kube-system
kubectl get --raw "/apis/metrics.k8s.io/v1beta1/pods/" | jq
kubectl -n kube-system logs metrics-server-56df6d849-c92fx
What you expected to happen:
metrics for pods must not be empty
Anything else we need to know?:
I use metrics-server 0.3.7
kubectl -n kube-system get deploy metrics-server -o yaml
Environment:
kubectl version
):/king bug
The text was updated successfully, but these errors were encountered: