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

Unlock the full answer

Get the complete model answer, key points, common pitfalls, and access to 9+ more DevOps Engineer interview questions.

Upgrade to Pro

Starting at $19/month • Cancel anytime