← Nodes483 / 640
hardkubectl

Show node CPU and memory usage sorted by highest CPU consumption

command

kubectl top nodes --sort-by cpu

also accepted

kubectl top nodes

Command breakdown

Part of the Kubernetes CLI (kubectl) — Nodes category.

kubectltopnodes--sort-bycpu
FlagPurpose
--sort-byBoolean flag

Test your recall — not just your reading.

Practice with interactive quiz →