Kubernetes RBAC : Practical Creation of User,Serviceaccount,Role,RoleBinding (Part 1)
Rohan Rustagi Rohan Rustagi
303 subscribers
638 views
28

 Published On Aug 3, 2024

Kubernetes RBAC Tutorial: Practical Creation of User, Serviceaccount, Role, RoleBinding (Part 1)

Timestamp :

Theory : 0:00
Hands-on/Demo : 9:46


Github Repo used : https://github.com/RohanRusta21/k8s-r...


1. What is RBAC? Role-Based Access Control (RBAC) is a method of regulating access to computer or network resources based on the roles of individual users within an organization. In Kubernetes, RBAC is a mechanism for controlling who can perform what actions within the cluster.


2. Key Concepts in Kubernetes RBAC: Roles and ClusterRoles: Define a set of permissions. Roles are namespace-scoped, while ClusterRoles are cluster-scoped. RoleBindings and ClusterRoleBindings: Bind users or groups to Roles or ClusterRoles.


3. Components: Role: Grants permissions within a namespace. ClusterRole: Grants permissions cluster-wide. RoleBinding: Assigns a Role to a user or group within a namespace. ClusterRoleBinding: Assigns a ClusterRole to a user or group cluster-wide.

4. How it Works: Users, groups, or service accounts are granted roles or cluster roles. These roles contain rules that specify the permitted operations (verbs) on specific resources. The API server checks these permissions before executing any action.



Follow my mentors too :@PavanElthepu @MPrashant @GouravSharma @cloudwithraj @AntonPutra @AbhishekVeeramalla @kubesimplify @kshindi @DevOpsJourney




Tags : #prometheus
#secrets #docker #k8s #kubernetes #cncf #kubernetestutorialforbeginners #rbac #serverless #grafana #autoscaling #rolebasedaccesscontrol #opensource #devops#grafana #vault #terraform

show more

Share/Embed