hardkubectl
Check whether the current user has all permissions on all resources cluster-wide
command
kubectl auth can-i '*' '*' --all-namespacesalso accepted
kubectl auth can-i '*' '*'kubectl auth can-i * *command
kubectl auth can-i '*' '*' --all-namespacesalso accepted
kubectl auth can-i '*' '*'kubectl auth can-i * *Part of the Kubernetes CLI (kubectl) — kubectl Advanced category.
| Flag | Purpose |
|---|---|
--all-namespaces | Boolean flag |
Test your recall — not just your reading.
Practice with interactive quiz →