We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c79e484 commit 3a29297Copy full SHA for 3a29297
manifests/clusterRole.yaml
@@ -0,0 +1,33 @@
1
+apiVersion: rbac.authorization.k8s.io/v1
2
+kind: ClusterRole
3
+metadata:
4
+ name: prometheus
5
+rules:
6
+- apiGroups: [""]
7
+ resources:
8
+ - nodes
9
+ - nodes/proxy
10
+ - services
11
+ - endpoints
12
+ - pods
13
+ verbs: ["get", "list", "watch"]
14
+- apiGroups:
15
+ - extensions
16
17
+ - ingresses
18
19
+- nonResourceURLs: ["/metrics"]
20
+ verbs: ["get"]
21
+---
22
23
+kind: ClusterRoleBinding
24
25
26
+roleRef:
27
+ apiGroup: rbac.authorization.k8s.io
28
+ kind: ClusterRole
29
30
+subjects:
31
+- kind: ServiceAccount
32
+ name: default
33
+ namespace: monitoring
0 commit comments