correctly discover the Alertmanager cluster and ServiceMonitors

This commit is contained in:
Frederic Branczyk
2016-12-12 22:24:52 -08:00
parent 3c8df35189
commit b867f6c9ec
6 changed files with 29 additions and 10 deletions

View File

@@ -7,10 +7,9 @@ metadata:
prometheus: frontend
spec:
version: v1.4.1
serviceMonitors:
- selector:
matchLabels:
tier: frontend
serviceMonitorSelector:
matchLabels:
tier: frontend
resources:
requests:
# 2Gi is default, but won't schedule if you don't have a node with >2Gi