Scaleway logo
Commands

Documentation for `scw datalab`

The CLI documentation pages are currently under construction

The content is up to date. We're making improvements to the site over the next few weeks for a better experience.

Clusters for Apache Spark™ API.

Lists the Apache Spark™ versions available for cluster creation.

List datalab resources

List datalab resources.

Usage:

TerminalCode
scw datalab cluster-version list [arg=value ...]

Arguments:

NameDescriptionArgument Specifications
order-byThe order by field.One of: name_asc, name_desc
regionRegion to target. If none is passed will use default region from the configDefault: fr-par
One of: fr-par, it-mil, all

Manage your clusters.

Create datalab resources

Create datalab resources.

Usage:

TerminalCode
scw datalab datalab create [arg=value ...]

Arguments:

NameDescriptionArgument Specifications
project-idProject ID to use. If none is passed the default project ID will be used
nameThe name of the cluster.
descriptionThe description of the cluster.
tags.{index}The tags of the cluster.
main.node-type
worker.node-type
worker.node-count
has-notebookSelect this option to include a notebook as part of the cluster.
spark-versionThe version of Apache Spark™ running inside the cluster, available options can be viewed at ListClusterVersions.
total-storage.typeOne of: unknown_type, sbs_5k
total-storage.size
private-network-idThe unique identifier of the private network the cluster will be attached to.
regionRegion to target. If none is passed will use default region from the configDefault: fr-par
One of: fr-par, it-mil

Delete datalab resources

Delete datalab resources.

Usage:

TerminalCode
scw datalab datalab delete [arg=value ...]

Arguments:

NameDescriptionArgument Specifications
datalab-idThe unique identifier of the cluster.Required
regionRegion to target. If none is passed will use default region from the configDefault: fr-par
One of: fr-par, it-mil

Get datalab resources

Get datalab resources.

Usage:

TerminalCode
scw datalab datalab get [arg=value ...]

Arguments:

NameDescriptionArgument Specifications
datalab-idThe unique identifier of the clusterRequired
regionRegion to target. If none is passed will use default region from the configDefault: fr-par
One of: fr-par, it-mil

List datalab resources

List datalab resources.

Usage:

TerminalCode
scw datalab datalab list [arg=value ...]

Arguments:

NameDescriptionArgument Specifications
project-idThe unique identifier of the project whose clusters you want to list.
nameThe name of the cluster you want to list.
tags.{index}The tags associated with the cluster you want to list.
order-byThe order by field, available options are name_asc, name_desc, created_at_asc, created_at_desc, updated_at_asc, updated_at_desc.One of: name_asc, name_desc, created_at_asc, created_at_desc, updated_at_asc, updated_at_desc
organization-idThe unique identifier of the organization whose clusters you want to list.
regionRegion to target. If none is passed will use default region from the configDefault: fr-par
One of: fr-par, it-mil, all

Update datalab resources

Update datalab resources.

Usage:

TerminalCode
scw datalab datalab update [arg=value ...]

Arguments:

NameDescriptionArgument Specifications
datalab-idThe unique identifier of the cluster.Required
nameThe updated name of the cluster.
descriptionThe updated description of the cluster.
tags.{index}The updated tags of the cluster.
node-countThe updated node count of the cluster. Scale up or down the number of worker nodes.
regionRegion to target. If none is passed will use default region from the configDefault: fr-par
One of: fr-par, it-mil

List available node types.

List datalab resources

List datalab resources.

Usage:

TerminalCode
scw datalab node-type list [arg=value ...]

Arguments:

NameDescriptionArgument Specifications
order-byThe order by field. Available fields are name_asc, name_desc, vcpus_asc, vcpus_desc, memory_gigabytes_asc, memory_gigabytes_desc, vram_bytes_asc, vram_bytes_desc, gpus_asc, gpus_desc.One of: name_asc, name_desc, vcpus_asc, vcpus_desc, memory_gigabytes_asc, memory_gigabytes_desc, vram_bytes_asc, vram_bytes_desc, gpus_asc, gpus_desc
targets.{index}Filter based on the target of the nodes. Allows to filter the nodes based on their purpose which can be main or worker node.One of: unknown_target, notebook, worker
resource-typeFilter based on node type ( cpu/gpu/all ).One of: all, gpu, cpu
regionRegion to target. If none is passed will use default region from the configDefault: fr-par
One of: fr-par, it-mil, all

List available notebook versions.

List datalab resources

List datalab resources.

Usage:

TerminalCode
scw datalab notebook-version list [arg=value ...]

Arguments:

NameDescriptionArgument Specifications
order-byThe order by field. Available options are name_asc and name_desc.One of: name_asc, name_desc
regionRegion to target. If none is passed will use default region from the configDefault: fr-par
One of: fr-par, it-mil, all