- What is taint and toleration in OpenShift?
- What is the difference between taint and toleration?
- What is the difference between taint and cordon?
What is taint and toleration in OpenShift?
Taints and tolerations are a flexible way to steer pods away from nodes or evict pods that should not be running on a node.
What is the difference between taint and toleration?
Taints are the opposite -- they allow a node to repel a set of pods. Tolerations are applied to pods. Tolerations allow the scheduler to schedule pods with matching taints. Tolerations allow scheduling but don't guarantee scheduling: the scheduler also evaluates other parameters as part of its function.
What is the difference between taint and cordon?
taint on a node allow only some pods (those with tolerations to the taint) to be scheduled on that node. Cordoning makes the node unschedulable for all pods.