Skip to content
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

Node CPU Use in the Dashboard not working #44

Closed
ragkota opened this issue Dec 6, 2019 · 6 comments
Closed

Node CPU Use in the Dashboard not working #44

ragkota opened this issue Dec 6, 2019 · 6 comments

Comments

@ragkota
Copy link

ragkota commented Dec 6, 2019

Hi,
I have used k8dash to create dashboard. Everything seems to work fine, except that Node CPU use and Node RAM use under Nodes tab is not working. Any ideas what could be missing?
Please see below relevant information. Thanks,
Raghu

ubuntu2:$ kubectl get pods -A -o wide | grep metrics-server
kube-system metrics-server-67db467b7b-89b6g 1/1 Running 0 5h12m 192.200.10.29 rack13-cluster-oam-2
ubuntu2:
$ kubectl get pods -A -o wide | grep k8dash
kube-system k8dash-8684c6bfbd-d9zj8 1/1 Running 0 11m 192.200.3.54 rack13-cluster-oam-1

image

@dennismeissel
Copy link

I'm facing the same issue with cluster running with docker-desktop on windows.
If I go into the concrete node I see this:
image

@herbrandson
Copy link
Collaborator

Would you mind checking the networking tab in your browsers developer tools and see if there's any more info there that might help track down what's going on here?

@ragkota
Copy link
Author

ragkota commented Dec 12, 2019

I resolved this using below patch

kubernetes-sigs/metrics-server#143 for metrics-server

@dennismeissel
Copy link

Would you mind checking the networking tab in your browsers developer tools and see if there's any more info there that might help track down what's going on here?

/apis/metrics.k8s.io/v1beta1/nodes/{node_name} or /apis/metrics.k8s.io/v1beta1/namespaces/docker/pods/{pod_name} return 404 not found.

But /apis/metrics.k8s.io/v1beta1/nodes or /apis/metrics.k8s.io/v1beta1/pods without specifying concrete resource are 200 OK.

@herbrandson
Copy link
Collaborator

Thanks for the update @ragkota

@dennismeissel Sounds like maybe you're experiencing the same issue?

@dennismeissel
Copy link

It helped me also.
Thanks both of you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants