← Nodes479 / 640
easykubectl

List all cluster nodes with their full set of labels

command

kubectl get nodes --show-labels

Command breakdown

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

kubectlgetnodes--show-labels
FlagPurpose
--show-labelsBoolean flag

Test your recall — not just your reading.

Practice with interactive quiz →