<p>What is the difference between RoleBinding and ClusterRoleBinding?
And what are the usages of them?</p>

Janitha Madushan
<p>A rolebinding is namespace scoped and clusterrolebinding is cluster scoped i.e across all namespace.</p>

<p>ClusterRoles and ClusterRoleBindings are useful in the following cases:</p>

<ol>
<li><p>Give permissions for non-namespaced resources like nodes</p></li>
<li><p>Give permissions for resources in all the namespaces of a cluster</p></li>
<li><p>Give permissions for non-resource endpoints like /healthz</p></li>
</ol>

<p>A RoleBinding can also reference a ClusterRole to grant the permissions defined in that ClusterRole to resources inside the RoleBinding's namespace. This kind of reference lets you define a set of common roles across your cluster, then reuse them within multiple namespaces.</p>
