-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Cannot see other namespaces except, kube-system and default #1279
Comments
Do you see anything in the logs for the Heapster pod? Could you put logs from the Heapster container in some sort of pastebin-like area (a gist, pastebin, uploaded to an accessible server, etc) and post a link here so we can take a look and make sure there are no errors there? |
I met this error too. I am using heapster v1.2.0-beta.1 on kubernetes v1.4.0-alpha.2.
I deploy my heapster by using yaml files under heapster/deploy/kube-config/influxdb. and I change heapster-controller.yaml file like this:
|
can you run Heapster under a higher verbosity (add an additional argument in your Heapster RC of |
I set Hespater RC command like this:
This is logs I got.
|
When I select And I got this When I select
|
hmm... if you make the queries manually, do you see the incorrect information? For instance |
If you mean |
+1 for this one. I have a Kubernetes 1.3.7 cluster (using kops) on which I run heapster 1.1.0 and I have basically the same behaviour as @amalkasubasinghe and @wangweihong ... Can't see my 'custom' namespaces... |
First, could you please try to use Kubelet Summary API as the source?
|
That's what I did actually, here is my deployment manifest...
|
I'm having the same problem using Kubernetes 1.8.7 on CoreOS. |
Guys, it looks like it's only a matter of populating the namespace drop-down in the UI... You can search the wanted namespace instead of the pre-defined "default and kube-system" and then search the pod and the data comes up... It would also be interesting to have the pod list filtered by namespace (worse, currently, the pod list shows them all, but no data will come up if the namespace does not fit the pod it is currently in...) |
Hello, I noticed that the default dashboard has the refresh of the namespace dropbox query set to false/never, therefore it doesn't load the full namespace list or new namespaces. Have you checked if this is also the source of your problem ? This can be solved by setting it to true via:
However i do have a question, is the namespace dropbox technically necessary ? It doesn't help much since the user has to "manually" match the namespace with the Pod. It would make more sense, in my opinion, to have a dashboard just for namespaces and an other for pods. We will be trying this custom dashboard for our cluster. |
@bryk for dashboard releated questions |
@nicolasbelanger it's work in here put your namespace |
@Vernlium It's funny cuz I found out the fix/issue lately. For some reason, the default datasource, in this case influxdb, is not selected in the variable definition. As soon as I set it, boom, all the namespaces will be populated in the drop-down. |
@nicolasbelanger Thanks for your workaround. I met the same issue. And with your work around, the non-default namespace could be listed. |
As @nicolasbelanger said. Edit the template, change the datasource to influxdb-datasource AND change the refresh option as well, else they won't show up. Then Save. |
@nicolasbelanger Thanks you, it works! Setting grafana dashboard template datasource with |
Issues go stale after 90d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or |
Hi,
I setup heapster v1.2.0-beta.2 on kubernetes 1.3.2
everything is working fine and I can load the grafana graphs also.
When I load the "Pods" dashbaord, under the podsname: I can see all the pods I have created in all namespaces. But under the namespaces it list only the default and kube-system namespace only. Any idea why is that?
The text was updated successfully, but these errors were encountered: