- Home
- All questions
- Question 976
CKA study material · question 976 of 1000
Why does kubectl create clusterrolebinding accept only --clusterrole and not --role?
Show the answer
Answer: A. Because a namespaced Role cannot be granted cluster-wide
A Role's permissions are scoped to its namespace, so there is nothing coherent for a cluster-wide binding to grant; only a ClusterRole can be bound that way.
Source: kubectl create clusterrolebinding (Kubernetes) — Synopsis