- Home
- All questions
- Question 974
CKA study material · question 974 of 1000
A Role must allow reading Pods and their status subresource. How are both named to kubectl create role?
Show the answer
Answer: D. --resource=pods,pods/status
Subresources are given in the resource list with a slash, exactly as they appear in an RBAC rule's resources field.
Source: kubectl create role (Kubernetes) — Examples