Trying to figure out matchlabels for application-monitoring?

This commit is contained in:
Adam Saleh 2021-03-17 00:31:50 +01:00
parent 110786d513
commit 283d8a9dd3
3 changed files with 9 additions and 3 deletions

View file

@ -7,9 +7,12 @@ metadata:
spec:
replicas: 2
serviceAccountName: prometheus
serviceMonitorNamespaceSelector:
matchLabels:
monitoring-key: cpe
serviceMonitorSelector:
matchLabels:
team: frontend
monitoring-key: cpe
alerting:
alertmanagers:
- namespace: application-monitoring