vessl-storage
.name
(str) : The name of the storage to create.storage_type
(StorageType) : The type of storage to create. Options: StorageType.S3
, StorageType.GCS
, StorageType.NFS
, StorageType.HOST_PATH
path
(str) : The path of the storage.
s3
: Path must in {bucket_name}/{path}
(e.g. my-bucket)gcs
: Path must in {bucket_name}/{path}
(e.g. my-bucket)nfs
: Path must be in {server}:{path}
format (e.g. 192.168.1.100:/shared/data)host-path
: Path must be an absolute local path (e.g. /data/host-folder)credential_name
(str) : The name of the credential to use. Required if storage_type
is S3
or GCS
cluster_name
(str) : The name of the cluster to use. Required if storage_type
is NFS
or HOST_PATH
organization_name
as **kwargs
.
Example