Skip to content

Kubernetes tips

Find top pods by CPU/memory

$ kubectl top pods --all-namespaces --sort-by='memory'
$ top pods --all-namespaces --sort-by='cpu'

Find top nodes by CPU/memory

$ kubectl top nodes --sort-by='cpu'
$ kubectl top nodes --sort-by='memory'

Kubernetes cheat sheet

Open Kubernetes cheat sheet

Lens IDE

OpenLens