2016-07-07 23:53:39 +03:00
|
|
|
# Cleaning Up
|
|
|
|
|
2017-03-26 00:20:31 +03:00
|
|
|
## Virtual Machines
|
2016-07-07 23:53:39 +03:00
|
|
|
|
|
|
|
```
|
2016-09-27 15:38:09 +03:00
|
|
|
gcloud -q compute instances delete \
|
2016-07-07 23:53:39 +03:00
|
|
|
controller0 controller1 controller2 \
|
2016-09-27 15:31:57 +03:00
|
|
|
worker0 worker1 worker2
|
2016-07-07 23:53:39 +03:00
|
|
|
```
|
|
|
|
|
2017-03-26 00:20:31 +03:00
|
|
|
## Networking
|
2016-07-07 23:56:22 +03:00
|
|
|
|
2016-07-07 23:53:39 +03:00
|
|
|
```
|
2017-03-25 22:04:05 +03:00
|
|
|
gcloud -q compute forwarding-rules delete kubernetes-forwarding-rule --region us-central1
|
2016-07-07 23:53:39 +03:00
|
|
|
```
|
|
|
|
|
|
|
|
```
|
2017-03-25 22:04:05 +03:00
|
|
|
gcloud -q compute target-pools delete kubernetes-target-pool
|
2016-07-07 23:53:39 +03:00
|
|
|
```
|
|
|
|
|
|
|
|
```
|
2017-03-25 22:04:05 +03:00
|
|
|
gcloud -q compute http-health-checks delete kube-apiserver-health-check
|
2016-07-07 23:53:39 +03:00
|
|
|
```
|
|
|
|
|
|
|
|
```
|
2017-03-25 22:04:05 +03:00
|
|
|
gcloud -q compute addresses delete kubernetes-the-hard-way
|
2016-07-07 23:53:39 +03:00
|
|
|
```
|
|
|
|
|
2016-07-08 20:26:32 +03:00
|
|
|
|
2016-07-07 23:53:39 +03:00
|
|
|
```
|
2016-09-27 15:37:22 +03:00
|
|
|
gcloud -q compute firewall-rules delete \
|
2016-07-09 06:37:57 +03:00
|
|
|
kubernetes-nginx-service \
|
2017-03-25 22:04:05 +03:00
|
|
|
allow-internal \
|
|
|
|
allow-external \
|
|
|
|
allow-healthz
|
2016-07-08 01:14:24 +03:00
|
|
|
```
|
|
|
|
|
|
|
|
```
|
2016-09-27 15:37:22 +03:00
|
|
|
gcloud -q compute routes delete \
|
2016-07-08 21:39:58 +03:00
|
|
|
kubernetes-route-10-200-0-0-24 \
|
|
|
|
kubernetes-route-10-200-1-0-24 \
|
|
|
|
kubernetes-route-10-200-2-0-24
|
2016-07-09 06:28:42 +03:00
|
|
|
```
|
|
|
|
|
2016-07-09 06:37:57 +03:00
|
|
|
```
|
2016-09-27 15:37:22 +03:00
|
|
|
gcloud -q compute networks subnets delete kubernetes
|
2016-07-09 06:37:57 +03:00
|
|
|
```
|
|
|
|
|
2016-07-09 06:28:42 +03:00
|
|
|
```
|
2017-03-25 22:04:05 +03:00
|
|
|
gcloud -q compute networks delete kubernetes-the-hard-way
|
2017-03-26 00:20:31 +03:00
|
|
|
```
|