From 849c3917c40a35de2c6383357159607b0f34cf29 Mon Sep 17 00:00:00 2001 From: CarlosEDP Date: Tue, 10 Apr 2018 12:24:12 -0500 Subject: [PATCH] Fix teardown --- teardown | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/teardown b/teardown index b2c4c54..d6c6f66 100755 --- a/teardown +++ b/teardown @@ -16,13 +16,14 @@ kctl() { } kctl delete -f manifests/node-exporter +kctl delete -f manifests/armexporter kctl delete -f manifests/kube-state-metrics kctl delete -f manifests/grafana find manifests/prometheus -type f ! -name prometheus-k8s-roles.yaml ! -name prometheus-k8s-role-bindings.yaml -exec kubectl --namespace "$NAMESPACE" delete -f {} \; kubectl delete -f manifests/prometheus/prometheus-k8s-roles.yaml kubectl delete -f manifests/prometheus/prometheus-k8s-role-bindings.yaml kctl delete -f manifests/alertmanager - +kctl delete -f manifests/smtp-server # Hack: wait a bit to let the controller delete the deployed Prometheus server. sleep 5