kubernetic icon indicating copy to clipboard operation
kubernetic copied to clipboard

No Cpu and Memory on kubernetes 1.23

Open eworld888 opened this issue 3 years ago • 1 comments

kubernetes 1.23 not show cpu and memory image

eworld888 avatar Apr 22 '22 14:04 eworld888

I just tested with 1.23 and it works ok for me:

tested with:

  • Kubernetic v4.0.1 (Mac)
  • Kubernetes v1.23.5-gke.200 (Google Cloud managed)
  • kubectl 1.23.0
Screenshot 2022-04-22 at 17 13 38
❯ kubectl top pod
NAME                                             CPU(cores)   MEMORY(bytes)
kubernetic-backend-5cbb79cb7f-xmc5f              1m           25Mi
kubernetic-frontend-bb4857cc6-22pfl              1m           2Mi
kubernetic-license-server-pro-6d9b5d8f5f-bfhbz   1m           23Mi

In order to get metrics you need to have installed metrics-server on your cluster (normally in kube-system namespace). Note that you need to give a couple of mins for metrics server to collect initial metrics.

Can you provide some info on your environment?

  • Kubernetic version
  • Kubernetes version and cloud provider if any
  • Does kubectl top pod works on your machine?
  • Do you have installed metrics-server?

dkapanidis avatar Apr 22 '22 15:04 dkapanidis