⎈ k8s knowledge compiler

ClusterRole [api_object]ai-synthesized · conf 0.82

ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.

rbacsecurity

A ClusterRole is a set of permissions that can be applied to a cluster.

Why it matters ClusterRoles define what actions can be performed on a cluster, enabling fine-grained access control.

Key facts - Defined in the RBAC API (io.k8s.api.rbac.v1.ClusterRole) - Can be used to grant permissions to users or service accounts

Common pitfalls - Care must be taken when granting ClusterRoles, as they can have far-reaching implications for cluster security - Inadequate ClusterRole definitions can lead to over-permissioning and increased risk of unauthorized access

Related ClusterRoleBinding, ServiceAccount, User

Sources

swagger.jsonio.k8s.api.rbac.v1.ClusterRole

Related (7)

related_to ObjectMetareferences type conf=1
related_to PolicyRulereferences type conf=1
related_to AggregationRulereferences type conf=1
api_for ClusterRoledocuments API object conf=1
api_for kubectl create clusterroledocuments API object conf=1
related_to ClusterRoleListreferences type conf=1
requires permissions:clusterrolesrequired to manage ClusterRole conf=1

← all API Explorer