thinQmaster Virtual testing partner Adaptive practice exams that find your weak spots and drill them. Every answer explained. From $69
Enroll

thinQmaster

Find your exam

Five questions free, before you decide.

Step 1 · choose a vendor

In one of our camps? Your practice exams come with the tuition — they are on your study page already.

DevOps & Automation · Intermediate

Role-Based Access Control (RBAC)

The Kubernetes authorization mode that grants permissions through Roles/ClusterRoles bound to users, groups, or service accounts.

Definition

A Role grants verbs (get, list, create, delete) on resources within a namespace; a ClusterRole is cluster-wide or reusable. RoleBinding and ClusterRoleBinding attach them to subjects. Permissions are additive only.

Example

kubectl create rolebinding dev-view --clusterrole=view --user=alice -n dev

Exam tip

Use kubectl auth can-i --as to verify; RBAC has no deny rules.

Don't confuse it with

Related terms