How to get the resource usage of a pod in Kubernetes?

前端 未结 1 1362
误落风尘
误落风尘 2021-01-05 05:05

How can we get the real resource usage (not resource requests) of each pod on Kubernetes by command line? Heapster is deprecated. Meanwhile, Metrics-server still does not su

1条回答
  •  不知归路
    2021-01-05 05:16

    Error from server (ServiceUnavailable): the server is currently unable to handle the request (get services http:heapster:)

    It sounds like the heapster deployment just forgot to install the Service for heapster; I would expect this would get you past that error, but unknown whether it would actually cause kubectl top pods to start to work:

    kubectl create -f /dev/stdin <

    0 讨论(0)
提交回复
热议问题