== Targeting a specific node ==
Targeting a specific node can be done in two different ways:
1. Selecting a node name.
2. Requiring a certain label on the node,
See table below for node names and associated labels.
Example 1: GPU-enabled pod which runs only on the node "belial":
Example 2: GPU-enabled pod which requires compute capability of at least sm-60:
== Acquiring GPUs with more than 20 GB ==
By default, Kubernetes schedules GPU pods only on the smallest class of GPU with 20 GB of memory. The way how this is achieved is that nodes with higher grade GPUs are assigned a "node taint", which makes the node only available to pods which specify that they are "tolerant" against the taint.
So if your tasks for example requires a GPU with at least 32 GB, you have to
1. make the pod tolerate the taint "gpumem-32" (see table below).
2. make the pod require the node label "gpumem-32".
Example:
== List of compute nodes ==