kelseyhightower / kubernetes-the-hard-way

Bootstrap Kubernetes the hard way. No scripts.
Apache License 2.0
41.26k stars 14.12k forks source link

The cleanup script instructions do not remove the load balancer or its associated resources. #605

Closed DamaniN closed 3 years ago

DamaniN commented 4 years ago

The current clean up script doesn't remove the load balancer or it's associated resources. This can be done by running the following:

gcloud -q compute forwarding-rules delete \ kubernetes-forwarding-rule \ --region $(gcloud config get-value compute/region)

gcloud -q compute target-pools delete \ kubernetes-target-pool \ --region $(gcloud config get-value compute/region

gcloud -q compute http-health-checks delete \ kubernetes

gaffneyd4 commented 3 years ago

I don't think this is true anymore: https://github.com/kelseyhightower/kubernetes-the-hard-way/blob/master/docs/14-cleanup.md#networking

Looks like this issue & PR can be closed.

DamaniN commented 3 years ago

Strange, I must have been working from an older copy. The PR can be removed.