Skip to content

Commit

Permalink
Add toleration seconds condition
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouya0 committed Sep 22, 2020
1 parent 15011a6 commit ad4d75f
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ effect `PreferNoSchedule` then Kubernetes will *try* to not schedule the pod ont
* if there is at least one un-ignored taint with effect `NoExecute` then the pod will be evicted from
the node (if it is already running on the node), and will not be
scheduled onto the node (if it is not yet running on the node).
* if there is only one tolerated taint with effect `NoExecute` then the pod will still be scheduled onto the node even if
the toleration has toleration seconds which causes a probability that the pod will be repeatedly scheduled onto the node,
this can be solved by adding a `NoSchedule` taint to the node.

For example, imagine you taint a node like this

Expand Down

0 comments on commit ad4d75f

Please sign in to comment.