Skip to content

Commit 7920657

Browse files
authored
feat(datalab): enable v1beta1 (#5318)
1 parent a72ad42 commit 7920657

17 files changed

+528
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
List datalab resources.
4+
5+
USAGE:
6+
scw datalab cluster-versions list [arg=value ...]
7+
8+
ARGS:
9+
[order-by] The order by field. (name_asc | name_desc)
10+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | all)
11+
12+
FLAGS:
13+
-h, --help help for list
14+
--list-sub-commands List all subcommands
15+
16+
GLOBAL FLAGS:
17+
-c, --config string The path to the config file
18+
-D, --debug Enable debug mode
19+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
20+
-p, --profile string The config profile to use
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Lists the Spark versions available for Data Lab creation.
4+
5+
USAGE:
6+
scw datalab cluster-versions <command>
7+
8+
AVAILABLE COMMANDS:
9+
list List datalab resources
10+
11+
FLAGS:
12+
-h, --help help for cluster-versions
13+
--list-sub-commands List all subcommands
14+
15+
GLOBAL FLAGS:
16+
-c, --config string The path to the config file
17+
-D, --debug Enable debug mode
18+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
19+
-p, --profile string The config profile to use
20+
21+
Use "scw datalab cluster-versions [command] --help" for more information about a command.
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Create datalab resources.
4+
5+
USAGE:
6+
scw datalab datalab create [arg=value ...]
7+
8+
ARGS:
9+
[project-id] Project ID to use. If none is passed the default project ID will be used
10+
[name] The name of the Data Lab.
11+
[description] The description of the Data Lab.
12+
[tags.{index}] The tags of the Data Lab.
13+
[main.node-type]
14+
[worker.node-type]
15+
[worker.node-count]
16+
[has-notebook] Whether a JupyterLab notebook shall be created with the Data Lab or not.
17+
[spark-version] The version of Spark running inside the Data Lab, available options can be viewed at ListClusterVersions.
18+
[total-storage.type] (unknown_type | sbs_5k)
19+
[total-storage.size]
20+
[private-network-id] The private network to which the Data Lab is connected. Important for accessing the Spark Master URL from a private cluster.
21+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)
22+
23+
FLAGS:
24+
-h, --help help for create
25+
--list-sub-commands List all subcommands
26+
27+
GLOBAL FLAGS:
28+
-c, --config string The path to the config file
29+
-D, --debug Enable debug mode
30+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
31+
-p, --profile string The config profile to use
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Delete datalab resources.
4+
5+
USAGE:
6+
scw datalab datalab delete [arg=value ...]
7+
8+
ARGS:
9+
datalab-id The unique identifier of the Data Lab.
10+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)
11+
12+
FLAGS:
13+
-h, --help help for delete
14+
--list-sub-commands List all subcommands
15+
16+
GLOBAL FLAGS:
17+
-c, --config string The path to the config file
18+
-D, --debug Enable debug mode
19+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
20+
-p, --profile string The config profile to use
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Get datalab resources.
4+
5+
USAGE:
6+
scw datalab datalab get [arg=value ...]
7+
8+
ARGS:
9+
datalab-id The unique identifier of the Data Lab
10+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)
11+
12+
FLAGS:
13+
-h, --help help for get
14+
--list-sub-commands List all subcommands
15+
16+
GLOBAL FLAGS:
17+
-c, --config string The path to the config file
18+
-D, --debug Enable debug mode
19+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
20+
-p, --profile string The config profile to use
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
List datalab resources.
4+
5+
USAGE:
6+
scw datalab datalab list [arg=value ...]
7+
8+
ARGS:
9+
[project-id] The unique identifier of the project whose Data Labs you want to list.
10+
[name] The name of the Data Lab you want to list.
11+
[tags.{index}] The tags associated with the Data Lab you want to list.
12+
[order-by] The order by field, available options are `name_asc`, `name_desc`, `created_at_asc`, `created_at_desc`, `updated_at_asc`, `updated_at_desc`. (name_asc | name_desc | created_at_asc | created_at_desc | updated_at_asc | updated_at_desc)
13+
[organization-id] The unique identifier of the organization whose Data Labs you want to list.
14+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | all)
15+
16+
FLAGS:
17+
-h, --help help for list
18+
--list-sub-commands List all subcommands
19+
20+
GLOBAL FLAGS:
21+
-c, --config string The path to the config file
22+
-D, --debug Enable debug mode
23+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
24+
-p, --profile string The config profile to use
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Update datalab resources.
4+
5+
USAGE:
6+
scw datalab datalab update [arg=value ...]
7+
8+
ARGS:
9+
datalab-id The unique identifier of the Data Lab.
10+
[name] The updated name of the Data Lab.
11+
[description] The updated description of the Data Lab.
12+
[tags.{index}] The updated tags of the Data Lab
13+
[node-count] The updated node count of the Data Lab. Scale up or down the number of worker nodes.
14+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)
15+
16+
FLAGS:
17+
-h, --help help for update
18+
--list-sub-commands List all subcommands
19+
20+
GLOBAL FLAGS:
21+
-c, --config string The path to the config file
22+
-D, --debug Enable debug mode
23+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
24+
-p, --profile string The config profile to use
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Manage your Datalab.
4+
5+
USAGE:
6+
scw datalab datalab <command>
7+
8+
AVAILABLE COMMANDS:
9+
create Create datalab resources
10+
delete Delete datalab resources
11+
get Get datalab resources
12+
list List datalab resources
13+
update Update datalab resources
14+
15+
FLAGS:
16+
-h, --help help for datalab
17+
--list-sub-commands List all subcommands
18+
19+
GLOBAL FLAGS:
20+
-c, --config string The path to the config file
21+
-D, --debug Enable debug mode
22+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
23+
-p, --profile string The config profile to use
24+
25+
Use "scw datalab datalab [command] --help" for more information about a command.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
List datalab resources.
4+
5+
USAGE:
6+
scw datalab node-types list [arg=value ...]
7+
8+
ARGS:
9+
[order-by] The 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`. (name_asc | name_desc | vcpus_asc | vcpus_desc | memory_gigabytes_asc | memory_gigabytes_desc | vram_bytes_asc | vram_bytes_desc | gpus_asc | gpus_desc)
10+
[targets.{index}] Filter on the wanted targets, whether it's for main node or worker. (unknown_target | notebook | worker)
11+
[resource-type] Filter based on node type ( `cpu`/`gpu`/`all` ). (all | gpu | cpu)
12+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | all)
13+
14+
FLAGS:
15+
-h, --help help for list
16+
--list-sub-commands List all subcommands
17+
18+
GLOBAL FLAGS:
19+
-c, --config string The path to the config file
20+
-D, --debug Enable debug mode
21+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
22+
-p, --profile string The config profile to use
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
List available node types. These are the possible compute units that can host the Spark cluster.
4+
5+
USAGE:
6+
scw datalab node-types <command>
7+
8+
AVAILABLE COMMANDS:
9+
list List datalab resources
10+
11+
FLAGS:
12+
-h, --help help for node-types
13+
--list-sub-commands List all subcommands
14+
15+
GLOBAL FLAGS:
16+
-c, --config string The path to the config file
17+
-D, --debug Enable debug mode
18+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
19+
-p, --profile string The config profile to use
20+
21+
Use "scw datalab node-types [command] --help" for more information about a command.

0 commit comments

Comments
 (0)