-
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
errors in logs - no graphs showing #2304
Comments
Which Dashboard version are you using? Can you confirm, that Heapster was up and running before Dashboard startup? |
this is what my script does:
|
Try to restart Dashboard pods. |
but there are more problems ... influxdb/grafana.yaml and influxdb/heapster.yaml contain references to images that don't exist in the google repository .... so I have to use older local versions |
|
Grafana and Influx are out of our scope. You should go to their repositories and create issues there. I can help you with telling what works for me. I am using the following file: https://github.com/maciaszczykm/k8s-tools/blob/master/yamls/heapster-deployment.yaml Some versions are pretty old, so you might want to update them. |
Is Dashboard connecting to Heapster after restart? |
i'm having trouble restarting the dashboard pod - I delete it and then kubectl create -f https:// ... and it says it already exists |
Just delete it. Kubernetes will restart it on its own. |
tried adding a pause - no joy
|
Networking seems to be not working. What do you use? Can you paste results of |
flannel .. plus I have 3 master HA setup ... |
|
How is it possible that you have so many nodes and only 2 flannel replicas? Flannel has to be deployed on every node in order to enable communication betwenn pods on different nodes. |
not sure what you mean? there's a kube-flannel pod on every node... (3 masters 8 workers) |
Ahh... yes my fault. I have looked at wrong number. Do you have any pod with working |
Additionally check out this tutorial. Deploy busybox and check if |
going through the tutorial .. spotted this:
|
If it's not working then i'd recommend reaching out to kubernetes core. They have better knowledge about networking then me. I can help with checking out cluster overall health and if everything is working that is required to run dashboard. |
I think that ERROR is benign .. what follows it each time is just an I**** informational log line... |
ok this is really weird ... I haven't done anything except go through the busybox stuff .. and i just reloaded the dashboard in the browser and the missing CPU/Memory Usage charts are showing up ! |
Well after starting dashboard and heapster you have to wait few minutes in order for heapster to scrape some metrics. Dashboard waits until it has enough data to actually display graphs. |
my pods are all about 42 minutes old ... the graphs showed up about 5 mins ago .. is that normal? |
It usually takes up to 5 min to get enough data to show graphs. Maybe dashboard pod restarted? If health check to heapster fails when dashboard starts then it is disabled. I don't see how else it could show graphs if nothing was there before. |
if health check fails .. does it ever re-check during the lifetime of that dashboard pod? or is that it .. only a pod restart would re-run the check? |
Only pod restart will work for now. We've had to change that behavior because some people reported that if heapster was not accessible and we constantly checked for it then dashboard load time increased. We will add settings page that will allow to manually enable/disable supported integrations. |
why not just set up a timer and check every few minutes? how could that affect load time? |
Because when there would be many replicas timers would have to be synced or there could be a situation where service proxies you to one replica where there are graphs and then it proxies you to different replicas where graphs are still disabled. |
Solved. |
how is this solved? |
I think it tells us that issue "no graphs showing" no longer occurs. It is strange, that it took so long though. How many resources do you have for all these nodes (maybe cluster performance is low)? |
i'm running everything on an ESXi host, which in turn is a MacPro6,1, 64GB ram, 1TB flash storage, 6TB iSCSI NAS storage .. ESXi host is hardly stressed ... I have scripts that generate this cluster from scratch, so I can tear it down, bring it up over and over ... and replicate this all day long. It is a mystery to me as to what tickled what to make those graphs suddenly show up after 30mins or so that one time .. so from my point of view this is far from closed... |
I'm sure that they did not just suddenly show up. Something had to trigger it and it was probably restart of dashboard pod. After restart it checked again if heapster is available and after successful connection metrics showed up. |
We have opened an issue to improve heapster check #2306. |
right but I didn't delete the pod or restart it .. so how did that happen.. that's what i'm trying to figure out. |
It can run on any node. It might have crashed and restarted automatically. |
fyi: I switched back to single-master setup - nothing fancy .. and still see the same thing ...
|
1 master, 3 workers, flannel : ```
|
@miramar-labs same problem here, solved after I set heapster service type to NodePort, then set "- --heapster-host=http://hostip:nodePort" in dashboard.yaml |
The text was updated successfully, but these errors were encountered: