What is the difference between taints and tolerations?
BeginnerConceptScheduling, Resources & Autoscaling
Answer
A taint on a node repels Pods (key=value:effect); a toleration on a Pod allows it to be scheduled there. Effects are NoSchedule, PreferNoSchedule and NoExecute (also evicts running Pods). Tolerating a taint does not attract the Pod; combine it with a node selector or affinity for dedicated nodes.
kubectl taint nodes gpu-1 dedicated=gpu:NoSchedule