🔥 3-day streak
Certified Kubernetes Administrator (CKA)108 / 125
Question 108 of 125
A monitoring team needs a ServiceAccount named 'prom-scraper' in the 'monitoring' namespace to be able to perform HTTP GET requests against the API server's '/metrics' endpoint. You create a ClusterRole with 'resources: ["pods"]' and 'verbs: ["get"]', then bind it via a ClusterRoleBinding, but requests to '/metrics' return 403 Forbidden. What change is required to grant the necessary access?
Reviewed for accuracy · Report an issueNext question