Commit 531a28e3 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #29716 from lparam/kube-down-clean

Automatic merge from submit-queue Delete all deployments when tear down cluster alive resources Delete all deployments when tear down cluster alive resources.
parents 56fde00f cff87c20
......@@ -176,6 +176,7 @@ function create-kubeconfig-for-federation() {
function tear_down_alive_resources() {
local kubectl="${KUBE_ROOT}/cluster/kubectl.sh"
"${kubectl}" delete deployments --all || true
"${kubectl}" delete rc --all || true
"${kubectl}" delete pods --all || true
"${kubectl}" delete svc --all || true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment