How do you keep GPU nodes for GPU workloads only?
IntermediateConceptGPU infrastructure & cost
Answer
Taint GPU nodes, for example nvidia.com/gpu=present:NoSchedule, so ordinary pods stay off them, and add matching tolerations plus node affinity to GPU workloads. This stops cheap CPU pods from occupying expensive GPU machines.
More on GPU infrastructure & cost
How do pods use GPUs on Kubernetes?BeginnerWhat is the NVIDIA GPU Operator?BeginnerWhat are GPU time-slicing and MIG?IntermediateHow do you monitor GPU usage?IntermediateGPU nodes are expensive but utilisation is only 15%. What do you do?IntermediateHow do you autoscale GPU nodes on EKS or AKS?Advanced