mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 20:53:33 +00:00
Merge pull request #5196 from brendandburns/coverage
Delete any created load balancers in guestbook.sh
This commit is contained in:
commit
54a0672e0b
@ -37,6 +37,10 @@ GUESTBOOK="${KUBE_ROOT}/examples/guestbook"
|
|||||||
|
|
||||||
function teardown() {
|
function teardown() {
|
||||||
${KUBECTL} stop -f "${GUESTBOOK}"
|
${KUBECTL} stop -f "${GUESTBOOK}"
|
||||||
|
if [[ "${KUBERNETES_PROVIDER}" == "gce" ]]; then
|
||||||
|
gcloud compute forwarding-rules delete "${INSTANCE_PREFIX}-default-frontend" || true
|
||||||
|
gcloud compute target-pools delete "${INSTANCE_PREFIX}-default-frontend" || true
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
prepare-e2e
|
prepare-e2e
|
||||||
|
Loading…
Reference in New Issue
Block a user