hardkubectl

Check whether a specific user has permission to list pods in a namespace

command

kubectl auth can-i list pods --namespace NAMESPACE --as USER

also accepted

kubectl auth can-ikubectl auth can-i list pods --namespace NAMESPACE --as

Test your recall — not just your reading.

Practice with interactive quiz →