Delete cluster level logging services during kube down

This commit is contained in:
Satnam Singh 2015-02-19 14:30:53 -08:00
parent d2cf55e1a8
commit 434b74da63

View File

@ -911,6 +911,10 @@ function teardown-logging-firewall {
detect-project
gcloud compute firewall-rules delete -q "${INSTANCE_PREFIX}-fluentd-elasticsearch-logging" --project "${PROJECT}" || true
# Also delete the logging services which will remove the associated forwarding rules (TCP load balancers).
local kubectl="${KUBE_ROOT}/cluster/kubectl.sh"
"${kubectl}" delete services elasticsearch-logging || true
"${kubectl}" delete services kibana-logging || true
}
# Perform preparations required to run e2e tests