GPU Node Label
Overview
Each node that provides GPUs must be labeled correctly.
NOTE - these configurations should be completed on a Kubernetes control plane node
Label Template
Use this label template in the
kubectl labelcommand in the subsequent Label Appliction sub-section below
NOTE - this section is information only. The template displayed will be used in a subsequent sections.
nexqloud.network/capabilities.gpu.vendor.<vendor name>.model.<model name>=trueLabel Application
Template
NOTE - if you are unsure of the
<node-name>to be used in this command - issuekubectl get nodesfrom one of your Kubernetes control plane nodes to obtain via theNAMEcolumn of this command output
kubectl label node <node-name> <label>Example
NOTE - issue this command/label application for all nodes hosting GPU resources
kubectl label node node1 nexqloud.network/capabilities.gpu.vendor.nvidia.model.a4000=trueExpected Output using Example
root@node1:~/provider# kubectl label node node1 nexqloud.network/capabilities.gpu.vendor.nvidia.model.a4000=true
node/node1 labeledVerification of Node Labels
Replace
<node-name>with the node of interest
kubectl describe node <node-name> | grep -A10 LabelsExpected Output using Example
kubectl describe node node2 | grep -A10 Labels
Labels: nexqloud.network/capabilities.gpu.vendor.nvidia.model.a4000=true
beta.kubernetes.io/arch=amd64
beta.kubernetes.io/os=linux
kubernetes.io/arch=amd64
kubernetes.io/hostname=node2
kubernetes.io/os=linuxLast updated