Kubectl rbac commands
Jump to navigation
Jump to search
Rbac in kubernetes:
kubectl auth can-i create deployments (check permission as an admin) kubectl auth can-i create deployments - -as bob (check permission of a user) kubectl auth can-i create deployments - -as bob - -namespace developer
the auth can-i allow you to test the capabilities of user in a kubernetes cluster