Closed prune998 closed 6 years ago
Are you using Docker 1.11.0? It's probably related to google/cadvisor#1206. Try to build kubernetes from head or just wait for the next release kubernetes/kubernetes/pull/24113.
I have the same problem. the /namespaces/ endpoint always returns []
Issues go stale after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
.
Stale issues rot after an additional 30d of inactivity and eventually close.
Prevent issues from auto-closing with an /lifecycle frozen
comment.
If this issue is safe to close now please do so with /close
.
Send feedback to sig-testing, kubernetes/test-infra and/or @fejta
.
/lifecycle stale
this is quite old. please re-open if you are still experiencing the issue
I have Heapster installed using the https://docs.openshift.org/latest/install_config/cluster_metrics.html directives. While this is working fine on my test platform, Heapster does not gather metrics from Namespaces/pods.
I turned the verbose logs on, and I can see Heapsrer is doing many GET or POST requests, that I tested, and which are all working : GET https://oc-master-eu-spare:8443/api/v1/namespaces?resourceVersion=0 GET https://oc-master-eu-spare:8443/api/v1/pods?resourceVersion=0 GET https://oc-master-eu-spare:8443/api/v1/watch/namespaces?timeoutSeconds=5 POST https://10.235.15.164:10250/stats/container/
As everything is working, I really think there is no issue with the SSL certs or authorization. Here is the logs at startup (without verbose)
Here are the versions :
OpenShift Master: v1.1.2-dirty Kubernetes Master: v1.2.0-alpha.4-851-g4a65fa1 Heapster version 1.1.0-beta1
for information, everything is working fine on my test install using versions : OpenShift Master: v1.1.3 Kubernetes Master: v1.2.0-origin Heapster version 1.1.0-beta1 (from same docker image)