Trying to figure out matchlabels for application-monitoring?
This commit is contained in:
parent
110786d513
commit
283d8a9dd3
3 changed files with 9 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue