Question 10 of 10Pro Only
Explain the difference between taints and tolerations versus node affinity. How would you use these features to control pod scheduling in a multi-tenant cluster?
Sample answer preview
Taints, tolerations, and node affinity are all mechanisms for controlling pod scheduling, but they work in different directions and serve different purposes. Taints and tolerations work together to repel pods from nodes.
taintstolerationsnode affinityNoScheduleNoExecutePreferNoSchedule