Skip to main content

Install Kubernetes Metric Server / kubectl top will work 100% for CPU and Memory metric collection

How to install metric server in kubernetes for the collection of CPU and Memory Metrics 


 


Kubectl top is not working for pods and nodes:

Work Around


Please use the following link for metric server installation:


Apply the following commands:

it will install the metric server into your kube-system namespace as below:



Once the metric server pod is up and running. You can start using kubectl top commands 


Sharing Sample Results :








Comments