Setup
See our Getting Started guide for initial setup.clusters create
Usage
| Name | Type | Description |
|---|---|---|
--name | string | Name of the cluster |
| `—num-gpus | number | Number of GPUs to allocate in the cluster |
--region | enum | Region to create the cluster in. Valid regions can be found with clusters list-regions |
--billing-type | ON_DEMAND or RESERVED | Billing type to use for the cluster |
--driver-version | enum | Driver version to use for the cluster. Valid driver versions can be found with clusters list-regions |
--duration-days | number | Only used with RESERVED billing |
--gpu-type | enum | GPU type to use for the cluster. Find available gpu types for each region with the clusters list-regions command. |
| `—cluster-type | KUBERNETES or SLURM | Cluster type |
--volume | ID | Storage volume ID to use for the cluster |
--json | Output in JSON format |
clusters update
Usage
| Name | Type | Description |
|---|---|---|
--num-gpus | number | Number of GPUs to allocate in the cluster |
| `—cluster-type | KUBERNETES or SLURM | Cluster type |
--json | Output in JSON format |
clusters retrieve
Usage
clusters delete
Usage
clusters list
Usage
clusters list-regions
Get configuration information per region to use in creating your cluster.
Usage
clusters get-credentials
Usage
| Name | Type | Description |
|---|---|---|
--file | path or - | Path to write the kubeconfig to. If you pass - it will print the config to stdout instead of writing to a file. [default: ~/.kube/config] |
--context-name | string | Name of the context to add to the kubeconfig. By default it will be the cluster name. |
--overwrite-existing | If there is a conflict with the existing kubeconfig, overwrite the existing kubeconfig instead of raising an error. | |
--set-default-context | Change the current context for kubectl to the new context. |
clusters storage create
Usage
| Name | Type | Description |
|---|---|---|
--region | string | Region to create the storage volume in. [required] |
--size-tib | number | Size of the storage volume in TiB [required] |
--volume-name | string | Name of the storage volume [required] |
--json | Output in JSON format |
clusters storage retrieve
Usage
clusters storage list
Usage
clusters storage delete
Usage