mirror of
https://github.com/carlosedp/cluster-monitoring.git
synced 2024-11-20 19:07:17 +01:00
16 lines
216 B
YAML
16 lines
216 B
YAML
|
apiVersion: rbac.authorization.k8s.io/v1
|
||
|
kind: ClusterRole
|
||
|
metadata:
|
||
|
name: prometheus-k8s
|
||
|
rules:
|
||
|
- apiGroups:
|
||
|
- ""
|
||
|
resources:
|
||
|
- nodes/metrics
|
||
|
verbs:
|
||
|
- get
|
||
|
- nonResourceURLs:
|
||
|
- /metrics
|
||
|
verbs:
|
||
|
- get
|