hardkubectl

Check whether the current user has all permissions on all resources cluster-wide

command

kubectl auth can-i '*' '*' --all-namespaces

also accepted

kubectl auth can-i '*' '*'kubectl auth can-i * *

Command breakdown

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

kubectlauthcan-i'*''*'--all-namespaces
FlagPurpose
--all-namespacesBoolean flag

Test your recall — not just your reading.

Practice with interactive quiz →