From e93ec3134ad603cc9a81c8e334b5af850223467e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=BCdiger=20Busche?= Date: Tue, 5 May 2020 04:39:30 +0200 Subject: [PATCH] Use kubectl delete pod in example (#8295) Co-authored-by: rbusche --- doc/source/deploy-on-kubernetes.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/deploy-on-kubernetes.rst b/doc/source/deploy-on-kubernetes.rst index eb53180ab..ecc1022ab 100644 --- a/doc/source/deploy-on-kubernetes.rst +++ b/doc/source/deploy-on-kubernetes.rst @@ -116,7 +116,7 @@ and checking that they are restarted by Kubernetes: .. code-block:: shell # Delete a worker pod. - $ kubectl -n ray delete ray-worker-5c49b7cc57-c6xs8 + $ kubectl -n ray delete pod ray-worker-5c49b7cc57-c6xs8 pod "ray-worker-5c49b7cc57-c6xs8" deleted # Check that a new worker pod was started (this may take a few seconds). @@ -128,7 +128,7 @@ and checking that they are restarted by Kubernetes: ray-worker-5c49b7cc57-ypq8x 1/1 Running 0 0s # Delete the head pod. - $ kubectl -n ray delete ray-head-5455bb66c9-6bxvz + $ kubectl -n ray delete pod ray-head-5455bb66c9-6bxvz pod "ray-head-5455bb66c9-6bxvz" deleted # Check that a new head pod was started and the worker pods were restarted.