- Home
- All questions
- Question 963
CKA study material · question 963 of 1000
A Prometheus ServiceAccount is refused when scraping component metrics on an RBAC cluster. Which rule does its ClusterRole need?
Show the answer
Answer: D. get on the /metrics nonResourceURL
/metrics is not a resource, so access is granted through a nonResourceURLs rule; a resource rule will not cover it however it is written.
Source: Metrics For Kubernetes System Components (Kubernetes) — Metrics in Kubernetes