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

@@ -19,3 +19,4 @@ until kctl get prometheus; do sleep 1; done
kctl apply -f manifests/exporters
kctl apply -f manifests/grafana
kctl apply -f manifests/prometheus
kctl apply -f manifests/alertmanager

View File

@@ -11,6 +11,7 @@ kctl() {
kctl delete -f manifests/exporters
kctl delete -f manifests/grafana
kctl delete -f manifests/prometheus
kctl delete -f manifests/alertmanager
# Hack: wait a bit to let the controller delete the deployed Prometheus server.
sleep 5