2018-02-11 08:51:55 +01:00
|
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
2017-10-23 02:00:41 +02:00
|
|
|
kind: ClusterRole
|
|
|
|
metadata:
|
|
|
|
name: prometheus
|
|
|
|
rules:
|
|
|
|
- apiGroups: [""]
|
|
|
|
resources:
|
|
|
|
- nodes
|
2018-05-14 08:49:45 +02:00
|
|
|
- nodes/metrics
|
2017-10-23 02:00:41 +02:00
|
|
|
- services
|
|
|
|
- endpoints
|
|
|
|
- pods
|
2021-12-29 20:51:11 +01:00
|
|
|
verbs:
|
|
|
|
- get
|
|
|
|
- list
|
|
|
|
- watch
|
2017-10-23 02:00:41 +02:00
|
|
|
- nonResourceURLs: ["/metrics"]
|
|
|
|
verbs: ["get"]
|
2021-12-29 20:51:11 +01:00
|
|
|
- apiGroups:
|
|
|
|
- networking.k8s.io
|
|
|
|
resources:
|
|
|
|
- ingresses
|
|
|
|
verbs:
|
|
|
|
- get
|
|
|
|
- list
|
|
|
|
- watch
|