easykubectl
Export the default service account definition for the current namespace as YAML
command
kubectl get serviceaccount default -o yamlalso accepted
kubectl get serviceaccountcommand
kubectl get serviceaccount default -o yamlalso accepted
kubectl get serviceaccountPart of the Kubernetes CLI (kubectl) — Services category.
| Flag | Purpose |
|---|---|
-o | Boolean flag |
Test your recall — not just your reading.
Practice with interactive quiz →