k8s.io/perf-tests/clusterloader2@v0.0.0-20240304094227-64bdb12da87e/pkg/prometheus/manifests/prometheus-clusterRole.yaml (about)

     1  apiVersion: rbac.authorization.k8s.io/v1
     2  kind: ClusterRole
     3  metadata:
     4    name: prometheus-k8s
     5  rules:
     6  - apiGroups:
     7    - ""
     8    resources:
     9    - nodes/metrics
    10    - services
    11    - endpoints
    12    - pods
    13    verbs:
    14    - get
    15    - list
    16    - watch
    17  - nonResourceURLs:
    18    - /metrics
    19    verbs:
    20    - get