Advanced Label Selectors

Label selectors are available for precise placement of workloads

Selecting the right hardware for your workload is important. All compute nodes are tagged with a set of labels specifying the hardware type. Affinity Rules should be leveraged on workloads to ensure that the desired type of hardware (ie. GPU model) gets assigned to your job.

The basic node selectors demonstrated in Node Types are usually all that is needed to properly schedule workloads. Please contact support for any questions about advanced scheduling or special requirements.

Label

Possible Values

Description

cpu.coreweave.cloud/family

i9, i7, i5, celeron, xeon, epyc

The CPU family of the CPU in the node

ethernet.coreweave.cloud/speed

1G, 10G

The uplink speed from the node to the backbone

gpu.nvidia.com/count

4-8

Number of GPUs provisioned in the node. Using this selector is not recommended as the GPU resource requests are the correct method of selecting GPU count requirement

gpu.nvidia.com/model

GeForce_GTX_1070_Ti (see list)

GPU model provisioned in the node

gpu.nvidia.com/vram

6, 8, 11, 16

GPU VRAM in Gigabytes on the GPUs provisioned in the node

gpu.nvidia.com/nvlink

true, false

Denotes if GPUs are interconnected with NVLink. Currently applicable only for Tesla_V100

topology.kubernetes.io/region

ORD1, EWR1, EWR2, BUF1, ARN1

The region the node is placed in

Examples

8x Tesla V100 NVLINK
4x Tesla V100 NVLINK
16 Core Xeon CPU with 10GE
8x Tesla V100 NVLINK
spec:
containers:
- name: example
resources:
limits:
cpu: 30
memory: 128Gi
nvidia.com/gpu: 8
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: gpu.nvidia.com/model
operator: In
values:
- Tesla_V100
- key: gpu.nvidia.com/nvlink
operator: In
values:
- "true"
4x Tesla V100 NVLINK
spec:
containers:
- name: example
resources:
limits:
cpu: 15
memory: 64Gi
nvidia.com/gpu: 4
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: gpu.nvidia.com/model
operator: In
values:
- Tesla_V100
- key: gpu.nvidia.com/nvlink
operator: In
values:
- "true"
16 Core Xeon CPU with 10GE
spec:
containers:
- name: example
resources:
limits:
cpu: 16
memory: 48Gi
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: cpu.coreweave.cloud/family
operator: In
values:
- xeon
- key: ethernet.coreweave.cloud/speed
operator: In
values:
- 10G

‚Äč