mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-10 13:42:02 +00:00
Merge pull request #5495 from scuxiayiqian/master
Fix the stop rc failure in Cleanup Step
This commit is contained in:
@@ -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.
|
||||||
|
Reference in New Issue
Block a user