What is the difference between node affinity and `nodeSelector`?
IntermediateConceptScheduling, Resources & Autoscaling
Answer
Node affinity is richer: operators (In, NotIn, Exists, Gt, Lt), and required (requiredDuringSchedulingIgnoredDuringExecution) vs preferred with weights. nodeSelector is only exact-match AND. "IgnoredDuringExecution" means running Pods are not moved if labels change later.