Merge pull request #5495 from scuxiayiqian/master

Fix the stop rc failure in Cleanup Step
This commit is contained in:
Alex Robinson 2015-03-16 09:39:07 -07:00
commit 087e0669d3

View File

@ -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.