aggregated-metrics-reader.yaml 397 B

12345678910111213
  1. ---
  2. apiVersion: rbac.authorization.k8s.io/v1
  3. kind: ClusterRole
  4. metadata:
  5. name: system:aggregated-metrics-reader
  6. labels:
  7. rbac.authorization.k8s.io/aggregate-to-view: "true"
  8. rbac.authorization.k8s.io/aggregate-to-edit: "true"
  9. rbac.authorization.k8s.io/aggregate-to-admin: "true"
  10. rules:
  11. - apiGroups: ["metrics.k8s.io"]
  12. resources: ["pods", "nodes"]
  13. verbs: ["get", "list", "watch"]