kubectl auth's Examples

 

Checks if SA can create pods, verifying RBAC permissions.

 

kubectl auth can-i create pods --as=system:serviceaccount:default:sa

Checks access permissions.

Explanation:
Verifies RBAC permissions.

kubectl auth can-i create pods

DevOpsSchool
Typically replies within an hour

DevOpsSchool
Hi there 👋

How can I help you?
×
Chat with Us