mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
The redis-master-controller should be stopped
The redis-master-controller should be stopped, and the redis-master will be deleted automatically.
This commit is contained in:
parent
f16abee122
commit
88d49ca6a9
@ -430,11 +430,11 @@ If you are in a live kubernetes cluster, you can just kill the pods, using a scr
|
|||||||
|
|
||||||
```shell
|
```shell
|
||||||
### First, kill services and controllers.
|
### First, kill services and controllers.
|
||||||
|
kubectl stop -f examples/guestbook/redis-master-controller.json
|
||||||
kubectl stop -f examples/guestbook/redis-slave-controller.json
|
kubectl stop -f examples/guestbook/redis-slave-controller.json
|
||||||
kubectl stop -f examples/guestbook/frontend-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-master-service.json
|
||||||
kubectl delete -f examples/guestbook/redis-slave-service.json
|
kubectl delete -f examples/guestbook/redis-slave-service.json
|
||||||
kubectl delete pod redis-master # This is the only pod that requires manual removal.
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### Troubleshooting
|
### Troubleshooting
|
||||||
|
Loading…
Reference in New Issue
Block a user