From 7a6040413b2b8ab2e9c64987df59ca7665834679 Mon Sep 17 00:00:00 2001 From: feihujiang Date: Mon, 28 Sep 2015 10:54:43 +0800 Subject: [PATCH] Use kubectl delete to replace stop in an example --- simple-nginx.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/simple-nginx.md b/simple-nginx.md index 270df236..02b69800 100644 --- a/simple-nginx.md +++ b/simple-nginx.md @@ -59,10 +59,10 @@ You can also see the replication controller that was created: kubectl get rc ``` -To stop the two replicated containers, stop the replication controller: +To delete the two replicated containers, delete the replication controller: ```bash -kubectl stop rc my-nginx +kubectl delete rc my-nginx ``` ### Exposing your pods to the internet.