FahamLah

Commands

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 pods

Who is using the most?