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
Kubectl top no doesn't wotk when using HPA without heapster #59438
Comments
/area kubectl |
can you clarify what you mean? #56206 should have solved this issue for 1.10. |
When using metrics-server instead of heapster top no still looks for heapster |
Have you registered the metrics API with your API server? Can you provide the output of |
We are facing the same issue with 1.9.3 version, here is output from top nodes
Hete metrics server info
HPA is working fine, but only issue is with |
1.9.3 will have the issue, since the fix merged for 1.10 |
@DirectXMan12 - closing this one, since this is landing in 1.10. |
I'm getting this exact same problem:
|
No, I'm sorry, that was my fault, I had to fix netpols to allow apiserver to access metrics-server pod. |
$ kubectl top pod boston-pod Is there any other way to get cpu/mem usage for a pod? |
+1 "message": "the server is currently unable to handle the request (get services http:heapster:)", We have both heapster and metrics-server, so not really sure which one should fetch the information. service/heapster ClusterIP 10.0.20.249 80/TCP 7d |
+1 [root@master0 ~]# kubectl cluster-info To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'. [root@master0 ~]# kubectl top nodes --v=10 |
@mariojacobo make sure you're using a version of kubectl from kubernetes 1.10+. @Art-Man it doesn't look like you have the metrics API available (check that list of APIs in the output for |
Same, I have kube-state-metrics in the cluster, can't I get top from it?
|
I have a k8s 1.13 cluster running and have the same error message than @HaymonEdmur from his comment. I've checked the presence of Now when I'm running the top command, I have the following :
The Is there anything I'm doing wrong here? |
Currently
Doesn't work when using HPA without heapster, there's some files to change under
utilmetrics/
we might want this for 1.10
/assign
/sig cli
The text was updated successfully, but these errors were encountered: