kubectl top pods|nodes
kubectl top pods|nodes
Risk: Safe
What it does
Shows CPU and memory in use now (needs metrics-server).
When to use it
To find the busy or hungry pod.
Example
$ kubectl top podsWho is using the most?
Learn it in: metrics-server and kubectl top · Official docs