Skip to main content

Usage

clouder about
clouder --help
clouder --help-all

Context

# Context.
clouder ctx -h
clouder ctx init
clouder ctx
clouder ctx ls
clouder ctx set aws <context-id>
clouder ctx set ovh <context-id>

Info

clouder info

Kubernetes

export DATALAYER_CLUSTER_NAME=<DATALAYER_CLUSTER_NAME>
clouder k8s create $DATALAYER_CLUSTER_NAME
clouder k8s kubeconfig $DATALAYER_CLUSTER_NAME
clouder k8s
clouder k8s use $DATALAYER_CLUSTER_NAME
clouder k8s
# b2-7 7-GB 2-vCPU 50-GB-SSD 250-Mbps-guaranteed 300-Mbps-max
# b2-15 15-GB 4-vCPU 100-GB-SSD 250-Mbps-guaranteed 1-Gbps-max
clouder k8s create-nodepool $DATALAYER_CLUSTER_NAME \
router --flavor b2-7 \
--min 0 --desired 1 --max 10 \
--roles router --xpu cpu
clouder k8s create-nodepool $DATALAYER_CLUSTER_NAME \
api --flavor b2-15 \
--min 0 --desired 1 --max 10 \
--roles api --xpu cpu
clouder k8s create-nodepool $DATALAYER_CLUSTER_NAME \
system --flavor b2-15 \
--min 0 --desired 2 --max 10 \
--roles system --xpu cpu
clouder k8s create-nodepool $DATALAYER_CLUSTER_NAME \
solr --flavor b2-7 \
--min 0 --desired 3 --max 10 \
--roles solr --xpu cpu
#
clouder k8s create-nodepool $DATALAYER_CLUSTER_NAME \
ceph --flavor b2-7 \
--min 0 --desired 3 --max 10 \
--roles ceph --xpu cpu
#
clouder k8s create-nodepool $DATALAYER_CLUSTER_NAME \
jupyter-cpu-medium --flavor b2-7 \
--min 0 --desired 3 --max 10 \
--roles jupyter --variant medium --xpu cpu
clouder k8s update-nodepool $DATALAYER_CLUSTER_NAME \
jupyter-cpu-medium --min 0 --desired 0 --max 10
#
clouder k8s create-nodepool $DATALAYER_CLUSTER_NAME \
jupyter-cuda-small --flavor t1-45 \
--min 0 --desired 1 --max 10 \
--roles jupyter --variant small --xpu gpu-cuda
clouder k8s create-nodepool $DATALAYER_CLUSTER_NAME \
jupyter-cuda-medium --flavor t2-45 \
--min 0 --desired 1 --max 10 \
--roles jupyter --variant medium --xpu gpu-cuda
# clouder k8s update-nodepool $DATALAYER_CLUSTER_NAME \
jupyter-cuda-medium --min 0 --desired 0 --max 10
clouder k8s create-nodepool $DATALAYER_CLUSTER_NAME \
jupyter-cuda-large --flavor h100-380 \
--min 0 --desired 1 --max 10 \
--roles jupyter --variant large --xpu gpu-cuda
# clouder k8s update-nodepool $DATALAYER_CLUSTER_NAME \
jupyter-cuda-large --min 0 --desired 0 --max 10
#
clouder k8s create-nodepool $DATALAYER_CLUSTER_NAME \
jupyter-small \
--flavor b2-7 \
--min 1 --desired 1 --max 10 \
--roles jupyter --variant small --xpu cpu
clouder k8s create-nodepool $DATALAYER_CLUSTER_NAME \
jupyter-cuda-test \
--flavor t2-le-180 \
--min 0 --desired 2 --max 10 \
--roles jupyter --variant test --xpu gpu-cuda

Operator

clouder s3 create s3-$DATALAYER_CLUSTER_NAME
clouder s3

SSH Key

# SSH Key.
clouder ssh-key ls

Virtual Machines

# Virtual Machines.
clouder vm ls

Clouder Server

# Start the Clouder server.
clouder server

Clouder Operator

# Start the Clouder operator.
clouder operator start
# Stop the Clouder operator.
clouder operator stop