QuestionQ11

VerifiedKubernetes Fundamentals

In Kubernetes Role-Based Access Control (RBAC), what is the main difference between a Role and a ClusterRole?

Explanation

A Role is namespaced and defines permissions only within its namespace. A ClusterRole is a non-namespaced, cluster-level RBAC object that can define permissions for cluster-scoped resources and can be granted across namespaces with a ClusterRoleBinding; the scope of granted access also depends on the binding used.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!