Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
996f9e67
Commit
996f9e67
authored
Mar 11, 2015
by
Zach Loafman
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5262 from bprashanth/e2e_services
Delete target pools and forwarding rules with -q in guestbook.sh
parents
23c9c405
1ae44c3a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
guestbook.sh
hack/e2e-suite/guestbook.sh
+4
-3
No files found.
hack/e2e-suite/guestbook.sh
View file @
996f9e67
...
@@ -38,9 +38,10 @@ GUESTBOOK="${KUBE_ROOT}/examples/guestbook"
...
@@ -38,9 +38,10 @@ GUESTBOOK="${KUBE_ROOT}/examples/guestbook"
function
teardown
()
{
function
teardown
()
{
${
KUBECTL
}
stop
-f
"
${
GUESTBOOK
}
"
${
KUBECTL
}
stop
-f
"
${
GUESTBOOK
}
"
if
[[
"
${
KUBERNETES_PROVIDER
}
"
==
"gce"
]]
;
then
if
[[
"
${
KUBERNETES_PROVIDER
}
"
==
"gce"
]]
;
then
gcloud compute forwarding-rules delete
"
${
INSTANCE_PREFIX
}
-default-frontend"
||
true
local
REGION
=
${
ZONE
%-*
}
gcloud compute target-pools delete
"
${
INSTANCE_PREFIX
}
-default-frontend"
||
true
gcloud compute forwarding-rules delete
-q
--region
${
REGION
}
"
${
INSTANCE_PREFIX
}
-default-frontend"
||
true
fi
gcloud compute target-pools delete
-q
--region
${
REGION
}
"
${
INSTANCE_PREFIX
}
-default-frontend"
||
true
fi
}
}
prepare-e2e
prepare-e2e
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment