mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 07:20:13 +00:00
fix the stop rc failure in Cleanup Step
This commit is contained in:
parent
879bc3a677
commit
831017e5a9
@ -436,8 +436,8 @@ 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 rc examples/guestbook/redis-slave-controller.json
|
kubectl stop -f examples/guestbook/redis-slave-controller.json
|
||||||
kubectl stop rc 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.
|
kubectl delete pod redis-master # This is the only pod that requires manual removal.
|
||||||
|
Loading…
Reference in New Issue
Block a user