Fix breakage when bringing down cluster.

pull/6/head
Joe Beda 2014-11-17 11:24:09 -08:00
parent 65c7970465
commit 7b5a77c56c
1 changed files with 2 additions and 0 deletions

View File

@ -630,6 +630,8 @@ function setup-monitoring {
function teardown-monitoring {
if [[ "${MONITORING}" == "true" ]]; then
detect-project
local kubectl="${KUBE_ROOT}/cluster/kubectl.sh"
"${kubectl}" delete pods heapster &> /dev/null || true
"${kubectl}" delete pods influx-grafana &> /dev/null || true