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

56 lines
924 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 \
2016-07-09 06:37:57 +03:00
kubernetes-allow-icmp \
kubernetes-allow-internal \
kubernetes-allow-rdp \
kubernetes-nginx-service \
kubernetes-allow-ssh
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-09 06:28:42 +03:00
```
2016-07-09 06:37:57 +03:00
```
gcloud compute networks subnets delete kubernetes
```
2016-07-09 06:28:42 +03:00
```
gcloud compute networks delete kubernetes
2016-07-07 23:53:39 +03:00
```