easykubectl
List all service accounts in a specific namespace
command
kubectl get serviceaccounts -n NAMESPACEalso accepted
kubectl get serviceaccounts -ncommand
kubectl get serviceaccounts -n NAMESPACEalso accepted
kubectl get serviceaccounts -nPart of the Kubernetes CLI (kubectl) — Namespaces category.
| Flag | Purpose |
|---|---|
-n | Boolean flag |
Test your recall — not just your reading.
Practice with interactive quiz →