A workload must run only on nodes with GPUs. Nodes are tainted 'sku=gpu:NoSchedule'. What must the pod spec contain?
- A Only a nodeSelector for the GPU label
- B Both a toleration for the taint and a nodeSelector or affinity for the GPU nodes (correct answer)
- C Only a toleration
- D A PriorityClass
Shortcut: A toleration allows the pod onto tainted nodes but does not attract it there. Pair the toleration with nodeSelector or nodeAffinity to ensure it lands on GPU nodes specifically.