K3s-cluster/monitoring/prometheus/prometheus.yaml
Tanguy Herbron 8b755928a2 feat(monitoring): Move to Prometheus operator
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.
2023-05-14 21:47:31 +02:00

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