An AKS node pool needs to be dedicated to GPU workloads only. How do you prevent CPU workloads from being scheduled there?
- A Set node pool as system type
- B Apply a taint (gpu=true:NoSchedule) and add matching tolerations to GPU pod specs (correct answer)
- C Use a NetworkPolicy
- D Set maxPods to 1
Shortcut: Tainting the GPU node pool with NoSchedule prevents non-GPU pods (which lack the toleration) from being scheduled there. GPU pods must have the matching toleration.