headlamp-k8s / headlamp

A Kubernetes web UI that is fully-featured, user-friendly and extensible
https://headlamp.dev
Apache License 2.0
2.22k stars 156 forks source link

metrics for each node usage #123

Closed maheshk245 closed 3 years ago

maheshk245 commented 3 years ago

I tried to use the headlamp for my cluster. it was showing that I need to add the metrics to get the usage details of each node. But I didn't find any documentation regarding how to add the metics

joaquimrocha commented 3 years ago

Hi @maheshk245 . For getting metrics you will need the metrics-server. It's true we don't have that documented as it something more related to Kubernetes itself than Headlamp (but I will think about adding it).

If you are running minikube, maybe check: https://kubernetes.io/docs/tutorials/hello-minikube/

Or if you want something less automagic: https://kubernetes.io/docs/tasks/debug-application-cluster/resource-metrics-pipeline/#metrics-server

joaquimrocha commented 3 years ago

Ihave opened #124 to track this BTW. Thanks.