Kubernetes Taint and Tolerations vs Node Affinity
Contents
Taint and Tolerations
Limit
You can make a rule that does not schedule the
POD
s to the specific Node, but you can not make a rule that schedules always the POD
s to the specific Node.Node Affinity
Limit
You can make a rule that schedules the
POD
s to the specific Node or does not schedule the POD
s 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
POD
s.