kubernetes-the-hard-way/docs/09-cleanup.md

44 lines
708 B
Markdown
Raw Normal View History

2016-07-07 23:53:39 +03:00
# Cleaning Up
## Virtual Machines
```
gcloud compute instances delete \
controller0 controller1 controller2 \
worker0 worker1 worker2 \
etcd0 etcd1 etcd2
```
## Networking
2016-07-07 23:56:22 +03:00
2016-07-07 23:53:39 +03:00
```
2016-07-07 23:56:22 +03:00
gcloud compute forwarding-rules delete kubernetes-rule
2016-07-07 23:53:39 +03:00
```
```
2016-07-08 20:26:32 +03:00
gcloud compute target-pools delete kubernetes-pool
2016-07-07 23:53:39 +03:00
```
```
2016-07-07 23:56:22 +03:00
gcloud compute http-health-checks delete kube-apiserver-check
2016-07-07 23:53:39 +03:00
```
```
2016-07-08 20:26:32 +03:00
gcloud compute addresses delete kubernetes
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-07-08 21:39:58 +03:00
gcloud compute firewall-rules delete \
kubernetes-allow-api-server \
kubernetes-allow-healthz \
kubernetes-nginx-service
2016-07-08 01:14:24 +03:00
```
```
2016-07-08 21:39:58 +03:00
gcloud compute routes delete \
kubernetes-route-10-200-0-0-24 \
kubernetes-route-10-200-1-0-24 \
kubernetes-route-10-200-2-0-24
2016-07-07 23:53:39 +03:00
```