hardkubectl
Check whether a specific user has permission to list pods in a namespace
command
kubectl auth can-i list pods --namespace NAMESPACE --as USERalso accepted
kubectl auth can-ikubectl auth can-i list pods --namespace NAMESPACE --ascommand
kubectl auth can-i list pods --namespace NAMESPACE --as USERalso accepted
kubectl auth can-ikubectl auth can-i list pods --namespace NAMESPACE --asTest your recall — not just your reading.
Practice with interactive quiz →