Skip to content
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

No Cpu and Memory on kubernetes 1.23 #352

Open
eworld888 opened this issue Apr 22, 2022 · 1 comment
Open

No Cpu and Memory on kubernetes 1.23 #352

eworld888 opened this issue Apr 22, 2022 · 1 comment

Comments

@eworld888
Copy link

kubernetes 1.23 not show cpu and memory
image

@dkapanidis
Copy link
Member

dkapanidis commented Apr 22, 2022

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants