easykubectl

List all pods across every namespace in the cluster

command

kubectl get pods --all-namespaces

Command breakdown

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

kubectlgetpods--all-namespaces
FlagPurpose
--all-namespacesBoolean flag

Test your recall — not just your reading.

Practice with interactive quiz →