easykubectl

List all workloads, services, and other resources within a namespace

command

kubectl get all -n NAMESPACE

also accepted

kubectl get all -nkubectl get all

Command breakdown

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

kubectlgetall-nNAMESPACE
FlagPurpose
-nBoolean flag

Test your recall — not just your reading.

Practice with interactive quiz →