Tanguy Herbron
8b755928a2
Changes the implementation of Prometheus to use its Operator instead of the regular configmap implementation. This allows the deployment of metrics through independent ServiceMonitors instead of a centralized ConfigMap. This update is reflated in Grfana's datasources.
15 lines
291 B
YAML
15 lines
291 B
YAML
apiVersion: monitoring.coreos.com/v1
|
|
kind: Prometheus
|
|
metadata:
|
|
name: prometheus
|
|
spec:
|
|
serviceAccountName: prometheus
|
|
serviceMonitorNamespaceSelector: {}
|
|
serviceMonitorSelector:
|
|
matchLabels:
|
|
team: core
|
|
resources:
|
|
requests:
|
|
memory: 400Mi
|
|
enableAdminAPI: false
|