mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 01:06:27 +00:00
commit
d68107be5e
@ -59,7 +59,7 @@ function setup {
|
|||||||
function cleanup {
|
function cleanup {
|
||||||
"${KUBECTL}" stop rc monitoring-influx-grafana-controller &> /dev/null || true
|
"${KUBECTL}" stop rc monitoring-influx-grafana-controller &> /dev/null || true
|
||||||
"${KUBECTL}" stop rc monitoring-heapster-controller &> /dev/null || true
|
"${KUBECTL}" stop rc monitoring-heapster-controller &> /dev/null || true
|
||||||
r "${KUBECTL}" delete -f "${MONITORING}/" &> /dev/null || true
|
"${KUBECTL}" delete -f "${MONITORING}/" &> /dev/null || true
|
||||||
|
|
||||||
# This only has work to do on gce and gke
|
# This only has work to do on gce and gke
|
||||||
if [[ "${KUBERNETES_PROVIDER}" == "gce" ]] || [[ "${KUBERNETES_PROVIDER}" == "gke" ]]; then
|
if [[ "${KUBERNETES_PROVIDER}" == "gce" ]] || [[ "${KUBERNETES_PROVIDER}" == "gke" ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user