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
|
|
|
|
- nodes/proxy
|
|
|
|
- services
|
|
|
|
- endpoints
|
|
|
|
- pods
|
|
|
|
verbs: ["get", "list", "watch"]
|
|
|
|
- nonResourceURLs: ["/metrics"]
|
|
|
|
verbs: ["get"]
|