Difference between revisions of "Kubectl rbac commands"

From UVOO Tech Wiki
Jump to navigation Jump to search
(Created page with "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) ku...")
(No difference)

Revision as of 23:10, 10 October 2023

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