Skip to content

Commit

Permalink
Merge pull request #1319 from run-ai/cli-examples-fixes
Browse files Browse the repository at this point in the history
cli examples - minor fixes
  • Loading branch information
lavianalon authored Dec 25, 2024
2 parents e278443 + eb8e26e commit 61bbc60
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions docs/Researcher/cli-reference/new-cli/cli-examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,17 +107,20 @@ 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
```
Expand Down

0 comments on commit 61bbc60

Please sign in to comment.