mirror of https://github.com/k3s-io/k3s
Fix breakage when bringing down cluster.
parent
65c7970465
commit
7b5a77c56c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue