lensapp / lens

Lens - The way the world runs Kubernetes
https://k8slens.dev/
MIT License
22.29k stars 1.45k forks source link

CPU and memory N/A on dashboard but availaible on details #7991

Closed paracetamol32 closed 5 months ago

paracetamol32 commented 6 months ago

CPU and memory N/A on dashboard but availaible on the details panel for all pods, i don't know why :

image

Config:

image

image

jisiallen commented 5 months ago

I have the same problem

Aizekso commented 5 months ago

And I have the same problem, but not on all clusters. 2 out of 5 clusters do not display metrics on dashboard.

Lens 2023.11.131420-latest Extension API: 6.22.6 Electron: 25.8.3 Chrome: 114.0.5735.289 Node: 18.15.0

paracetamol32 commented 5 months ago

Hi have try to deploy PROMETHEUS Operator an remove lens Metrics, but i have same issue

Aizekso commented 5 months ago

Installing metrics-server solved the problem for me! https://github.com/kubernetes-sigs/metrics-server

paracetamol32 commented 5 months ago

Yes !!! solved the problem for me!

agrondemiraj commented 3 months ago

I have the same issue. Metrics server is installed and works fine when checking kubectl top nodes but Lens Show N/A on Pod list and pods in the Node as well.