Contents

Kubernetes Taint and Tolerations vs Node Affinity

Taint and Tolerations

Limit
You can make a rule that does not schedule the PODs to the specific Node, but you can not make a rule that schedules always the PODs to the specific Node.

Node Affinity

Limit
You can make a rule that schedules the PODs to the specific Node or does not schedule the PODs to the specific Node, but you cannot make a rule that avoids to schedule to the specific Node.

Combination Taint/Tolerations and Node Affinity

The Best Solution
Using this combination, you can solve any problem that schedule the PODs.