RBAC stands for role base access control .

k get role

k get rolebindings

k create clusterole –help

–verb –> this is something that sets the permissions in K8s


roles are created now assign roles to users

k create clusterorlebinding –help


Clusterrolebinding and rolebinding . Cluster role binding is for entire cluser . Cluster role has highest priority . when compare to rolebinding .

Clusterrolebinding will be created by cluster admin

rolebinding will be created by admin [Normal admin ]

checking if a id have some permission .

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *