-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
I can't see cpu and memory graph in kubernetes dashboard #1867
Comments
Quoting
|
Additionally heapster has to be installed in |
Please reopen if it will not work after you set it up as explained. |
This was one of many threads I came across searching for instructions on how to configure Kubernetes with the dashboard, if your instance didn't get built with it. In my case, I used Kops, so I needed to do the following:
I hope this is useful for other people googling who are lost. |
And for the RBAC-enabled K8s deployments don't forget to apply the heapster-rbac, otherwise you won't see the graphs:
|
I tried applying what @matjam wrote, but as of today I am getting the following errors:
It seems to me that not all the components are properly synced. I cloned the heapster repository, and did
|
This is not related to dashboard. Adapt heapster yaml according to error message. |
@oz123 the |
@arno01 I did the steps in kubernetes-retired/heapster#1783 (comment), I am still no seeing the promised metrics. I also don't see errors ...
|
The only thing that might help, is this: in the dashboard logs I see this:
Is this the reason? |
It is not. Check beginning of the logs. If heapster health check fails then it will be disabled. |
I don't see any indication for that:
|
Dashboard logs. |
OK, seems you are right,
But how do I recover from this? Should I simply restart the dashboard? |
You can try restarting it and check again but if it can't reach heapster at all then you have networking issue in your cluster. |
got the metrics working!
|
As stated in #2306, in case dashboard and heapster are deployed together then dashboard has to be restarted after heapster scrapes some initial metrics, otherwise heapster health check will fail. |
Issue details
I can't see cpu and memory graph in kubernetes dashboard
Environment
Dashboard version: 1.5.0
Kubernetes version: 1.5.0
Operating system: centos
Steps to reproduce
start the dashboard, and there are no cpu and memory graph in the dashboard
The text was updated successfully, but these errors were encountered: