vessl workspace --help
to view the list of commands, or vessl workspace [COMMAND] --help
to view individual command instructions.
Argument | Description |
---|---|
NAME | workspace name |
Option | Description |
---|---|
-c , --cluster | Cluster name (must be specified before other options) |
--node | Cluster nodes. Defaults to all nodes in cluster. |
-r , --resource | Resource type to run an experiment (for managed cluster only) |
--processor-type | CPU or GPU (for custom cluster only) |
--cpu-limit | Number of vCPUs (for custom cluster only) |
--memory-limit | Memory limit in GiB (for custom cluster only) |
--gpu-type | GPU type (for custom cluster only) ex. Tesla-K80 |
--gpu-limit | Number of GPU cores (for custom cluster only) |
-i , --image-url | Kernel docker image URL ex. vessl/kernels:py36.full-cpu |
--max-hours | Maximum number of hours to run workspace. Defaults to 24. |
--dataset (multiple) | Dataset mounts in the form of [mount_path]:[dataset_name] ex. <code> —dataset /input:mnist` |
--upload-local-file (multiple) | Upload local file. Format: [local_path] or [local_path]:[remote_path].ex. `—upload-local-file my-project:/root/my-project“ |
--root-volume-size | Root volume size (defaults to 100Gi ) |
-p , --port (multiple) | Format: [expose_type] [port] [name], ex. -p 'tcp 22 ssh' . Jupyter and SSH ports exist by default. |
--init-script | Custom init script |
Option | Description |
---|---|
—key-path | SSH private key path |
Option | Description |
---|---|
—key-path | SSH private key path |
/tmp/workspace-backup.zip
and uploads the backup to VESSL server.
/tmp/workspace-backup.zip
and extract to /root/
.
Argument | Description |
---|---|
ID | Workspace ID |
Argument | Description |
---|---|
ID | Workspace ID |
Option | Description |
---|---|
--tail | Number of lines to display from the end (defaults to 200) |
Argument | Description |
---|---|
ID | Workspace ID |
Argument | Description |
---|---|
ID | Workspace ID |
Argument | Description |
---|---|
ID | Workspace ID |