mirror of
https://github.com/carlosedp/cluster-monitoring.git
synced 2024-11-20 19:07:17 +01:00
Fix teardown
This commit is contained in:
parent
78bc39ab66
commit
849c3917c4
3
teardown
3
teardown
@ -16,13 +16,14 @@ kctl() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
kctl delete -f manifests/node-exporter
|
kctl delete -f manifests/node-exporter
|
||||||
|
kctl delete -f manifests/armexporter
|
||||||
kctl delete -f manifests/kube-state-metrics
|
kctl delete -f manifests/kube-state-metrics
|
||||||
kctl delete -f manifests/grafana
|
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 {} \;
|
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-roles.yaml
|
||||||
kubectl delete -f manifests/prometheus/prometheus-k8s-role-bindings.yaml
|
kubectl delete -f manifests/prometheus/prometheus-k8s-role-bindings.yaml
|
||||||
kctl delete -f manifests/alertmanager
|
kctl delete -f manifests/alertmanager
|
||||||
|
kctl delete -f manifests/smtp-server
|
||||||
# Hack: wait a bit to let the controller delete the deployed Prometheus server.
|
# Hack: wait a bit to let the controller delete the deployed Prometheus server.
|
||||||
sleep 5
|
sleep 5
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user