mirror of
https://github.com/wassname/ray.git
synced 2026-09-09 11:32:43 +08:00
Use kubectl delete pod in example (#8295)
Co-authored-by: rbusche <rbusche@inserve.de>
This commit is contained in:
co-authored by
rbusche
parent
5dd9dbf74f
commit
e93ec3134a
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user