Skip to content

Latest commit

 

History

History
51 lines (39 loc) · 889 Bytes

11-cleanup.md

File metadata and controls

51 lines (39 loc) · 889 Bytes

Cleaning Up

Virtual Machines

gcloud -q compute instances delete \
  controller0 controller1 controller2 \
  worker0 worker1 worker2

Networking

gcloud -q compute forwarding-rules delete kubernetes-forwarding-rule --region us-central1
gcloud -q compute target-pools delete kubernetes-target-pool
gcloud -q compute http-health-checks delete kube-apiserver-health-check
gcloud -q compute addresses delete kubernetes-the-hard-way
gcloud -q compute firewall-rules delete \
  kubernetes-nginx-service \
  allow-internal \
  allow-external \
  allow-healthz
gcloud -q compute routes delete \
  kubernetes-route-10-200-0-0-24 \
  kubernetes-route-10-200-1-0-24 \
  kubernetes-route-10-200-2-0-24
gcloud -q compute networks subnets delete kubernetes
gcloud -q compute networks delete kubernetes-the-hard-way