Skip to main content

RoleBindings

A Role binding grants role permissions to a user or set of users. Rolebindings are assigned to a particular namespace during creation. The Rolebinding resource holds a list of subjects (users, groups, or service accounts), and a reference to the role being granted. A RoleBinding grants permissions within a specific namespace like pods, replicasets, jobs, and deployments. Whereas a ClusterRoleBinding grants cluster scoped resources like nodes.

Under Resource Type - Authorization section you can view ClusterRoleBindings and Rolebindings resources on your cluster listed by namespace. Example RoleBindings are shown in the following screenshot.

Insights

A ClusterRoleBinding attach ClusterRoles to a set of users. They are scoped to a cluster, and are not bound to namespaces like Roles and RoleBindings.

Insights