ClusterRoleBinding

A Kubernetes RBAC object that grants a ClusterRole's permissions to users, groups or service accounts across the whole cluster.

In more detail

A RoleBinding grants permissions within one namespace; a ClusterRoleBinding grants them everywhere. Creating one that grants cluster-admin is a classic persistence and escalation step, so it is worth an audit alert.

Example

Binding an identity to cluster-admin gives it full control of every namespace.

Related terms

Taught in

References

Certification courses