
The current patch uses collectd write_promethus plugin to expose metrics collected by collectd at /metrics endpoint. And Openshift's Prometheus consumes them via service monitor. Change-Id: I65651f5706d4563f8c6aa7e8f7db18d41eea3d95
14 lines
306 B
YAML
14 lines
306 B
YAML
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: ClusterRoleBinding
|
|
metadata:
|
|
name: prometheus-cluster-role-binding
|
|
subjects:
|
|
- kind: ServiceAccount
|
|
name: prometheus-k8s
|
|
namespace: openshift-monitoring
|
|
roleRef:
|
|
kind: ClusterRole
|
|
name: prometheus-cluster-role
|
|
apiGroup: rbac.authorization.k8s.io
|
|
|