browbeat/ansible/install/roles/collectd-rhoso/files/prometheus_cluster_rolebinding.yaml
rajeshP524 2b8b193a7a Move away from graphite to Prometheus
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
2024-09-03 16:48:55 +05:30

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