Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix guestbook.sh to make it work on GKE. #5749

Merged
merged 1 commit into from
Mar 23, 2015

Conversation

fabioy
Copy link
Contributor

@fabioy fabioy commented Mar 21, 2015

No description provided.

gcloud compute target-pools delete -q --region ${REGION} "${INSTANCE_PREFIX}-default-frontend" || true
gcloud compute firewall-rules delete guestbook-e2e-minion-8000 -q || true
if [[ "${KUBERNETES_PROVIDER}" == "gce" ]]; then
gcloud compute forwarding-rules delete -q --project="${PROJECT}" --region ${REGION} "${INSTANCE_PREFIX}-default-frontend" || true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems like we'd leak the forwarding rule/target pool on GKE without some cleanup here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Testing seems to indicate this is not needed for GKE. I'll double check.

@roberthbailey
Copy link
Contributor

Merging to let this run on jenkins a few times (to verify that it fixes GKE) before we nuke guestbook.sh.

roberthbailey added a commit that referenced this pull request Mar 23, 2015
Fix guestbook.sh to make it work on GKE.
@roberthbailey roberthbailey merged commit 737af02 into kubernetes:master Mar 23, 2015
@fabioy fabioy deleted the gke-guestbook.fix branch April 15, 2015 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants