Interview Prep/Kubernetes/Security: RBAC, ServiceAccounts & Pod Security

What is the difference between Role and ClusterRole?

BeginnerConceptSecurity: RBAC, ServiceAccounts & Pod Security
Answer

A Role is namespaced and grants access to resources in its namespace only. A ClusterRole is cluster-wide and can cover cluster-scoped resources (nodes, PVs), non-resource URLs, or be reused across namespaces by binding it with a RoleBinding.

All Kubernetes questions Roadmap: Kubernetes networking, storage & scaling

More on Security: RBAC, ServiceAccounts & Pod Security