From eb8e26e5e27df8c7d6d2260540d0ad5aca0e6ad6 Mon Sep 17 00:00:00 2001 From: Alon Lavian Date: Mon, 23 Dec 2024 09:08:53 +0200 Subject: [PATCH] cli examples - minor fixes Additional use cases for CLI v2 --- docs/Researcher/cli-reference/new-cli/cli-examples.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/docs/Researcher/cli-reference/new-cli/cli-examples.md b/docs/Researcher/cli-reference/new-cli/cli-examples.md index dad21e62a1..2f0c55ffde 100644 --- a/docs/Researcher/cli-reference/new-cli/cli-examples.md +++ b/docs/Researcher/cli-reference/new-cli/cli-examples.md @@ -107,22 +107,25 @@ runai mpi submit dist1 --workers=2 -g 1 \ ``` ### Submit with PVC -#### New PVC bounded to the workspace - will be deleted when the workload is deleted +#### New PVC bounded to the workspace + New PVCs will be deleted when the workload is deleted ```shell runai workspace submit -i ubuntu --new-pvc claimname=yuval-3,size=10M,path=/tmp/test ``` -#### New ephemeral PVC - will deleted when the workload is deleted or paused +#### New ephemeral PVC +New ephemeral PVCs will deleted when the workload is deleted or paused ```shell runai workspace submit -i ubuntu --new-pvc claimname=yuval2,size=10M,path=/tmp/test,ephemeral ``` -#### Existing PVC - will not deleted when the workload is deleted +#### Existing PVC +Existing PVCs will not deleted when the workload is deleted ```shell runai workspace submit -i ubuntu --existing-pvc claimname=test-pvc-2-project-mn2xs,path=/home/test ``` -### Msster/Worker configuration +### Master/Worker configuration --command flag and -- are setting both leader(master) and workers command/arguments