Skip to main content

☸️ Labels

For small devevelopment cluster, you can create a single Nodepool. Every node should have the following labels.

# Useful for the Service deployments.
- role.datalayer.io/router=true
- role.datalayer.io/system=true
- role.datalayer.io/api=true
- role.datalayer.io/solr=true
# Useful for the Runtime pods.
- role.datalayer.io/runtime=true
- node.datalayer.io/variant=medium
- xpu.datalayer.io/cpu=true
Quick labelling

Run to apply all the above labels to every worker node in one go. This is the fastest way to set up a small development cluster.

plane k8s-label-nodes

Use your favorite tool to create those nodes, or use Clouder, a tool to ease the Kubernetes cluster creation and sharing.

For bigger production cluster, we recommend creating separated Ensure the nodes are labelled based on their Nodepool.

Nodepool router​

Ensure the nodes are labelled with the following details.

- role.datalayer.io/router=true
- node.datalayer.io/variant=default

Nodepool api​

Ensure the nodes are labelled with the following details.

- role.datalayer.io/api=true

Nodepool system​

Ensure the nodes are labelled with the following details.

- role.datalayer.io/system=true

Nodepool solr​

Ensure the nodes are labelled with the following details.

- role.datalayer.io/solr=true

Nodepool runtime-cpu-medium​

Ensure the nodes are labelled with the following details.

- role.datalayer.io/runtime=true
- node.datalayer.io/variant=default
- xpu.datalayer.io/cpu=true

Nodepool runtime-gpu-cuda-medium​

Ensure the nodes are labelled with the following details.

- role.datalayer.io/runtime=true
- node.datalayer.io/variant=default
- xpu.datalayer.io/gpu-cuda=true