cluster-admin role¶
The cluster-admin role is a built-in, pre-defined role in Kubernetes that grants full administrative permissions across the entire cluster^[dashboatd.install.md]. This role is created by Kubernetes by default, eliminating the need for administrators to manually define or create it to gain full system control^[dashboatd.install.md].
Usage and Binding¶
Because this role exists by default, users can immediately reference it within RoleBinding or ClusterRoleBinding configurations to grant superuser access^[dashboatd.install.md].
A common use case involves creating a ClusterRoleBinding that references cluster-admin in the roleRef section^[dashboatd.install.md]. For example, to grant a specific service account administrative privileges, the binding configuration specifies kind: ClusterRole and name: cluster-admin^[dashboatd.install.md].
Related Concepts¶
- Kubernetes
- [[RBAC]]
- [[Service Account]]
Sources¶
^[dashboatd.install.md]