hardkubectl
Check whether the current user has permission to create pods in a namespace
command
kubectl auth can-i create pods --namespace NAMESPACEalso accepted
kubectl auth can-icommand
kubectl auth can-i create pods --namespace NAMESPACEalso accepted
kubectl auth can-iPart of the Kubernetes CLI (kubectl) — Debugging category.
| Flag | Purpose |
|---|---|
--namespace | Boolean flag |
Test your recall — not just your reading.
Practice with interactive quiz →