mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 15:25:57 +00:00
supplement the cleanup scripts
This commit is contained in:
parent
e4aa1b3924
commit
d1a6cee15e
@ -194,6 +194,18 @@ redis-master
|
||||
redis-slave-controller
|
||||
redis-slave
|
||||
```
|
||||
|
||||
However, the command will not delete the pods created by the replication controller. You can delete the pods manually.
|
||||
If you want to delete the pods together, you can use the commands below instead.
|
||||
``` shell
|
||||
cluster/kubectl.sh stop -f examples/guestbook-go/guestbook-controller.json
|
||||
cluster/kubectl.sh stop -f examples/guestbook-go/redis-slave-controller.json
|
||||
cluster/kubectl.sh stop -f examples/guestbook-go/redis-master-controller.json
|
||||
cluster/kubectl.sh delete -f examples/guestbook-go/guestbook-service.json
|
||||
cluster/kubectl.sh delete -f examples/guestbook-go/redis-slave-service.json
|
||||
cluster/kubectl.sh delete -f examples/guestbook-go/redis-master-service.json
|
||||
```
|
||||
|
||||
To turn down a Kubernetes cluster:
|
||||
|
||||
```shell
|
||||
|
@ -435,6 +435,7 @@ kubectl stop -f examples/guestbook/redis-slave-controller.json
|
||||
kubectl stop -f examples/guestbook/frontend-controller.json
|
||||
kubectl delete -f examples/guestbook/redis-master-service.json
|
||||
kubectl delete -f examples/guestbook/redis-slave-service.json
|
||||
kubectl delete -f examples/guestbook/frontend-service.json
|
||||
```
|
||||
|
||||
### Troubleshooting
|
||||
|
Loading…
Reference in New Issue
Block a user