Skip to content

Commit

Permalink
PreemptionToleration: update definition of TolerationSeconds
Browse files Browse the repository at this point in the history
  • Loading branch information
everpeace authored Jul 28, 2021
1 parent d2ac061 commit b15a950
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions kep/205-preemption-toleration/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,9 @@ type PreemptionToleration struct {
// It defaults to the PriorityClass's priority value + 1 if not set, which means pods that have a higher priority value can preempt it.
MinimumPreemptablePriority *int32 `json:"minimumPreemptablePriority,omitempty"`

// TolerationSeconds specifies how long this priority class can tolerate preemption by priorities lower than MinimumPreemptablePriority.
// It defaults to Nil if not set. Nil value means the pod can tolerate the preemption forever. Zero value means the pod will be preempted immediately. i.e., no toleration at all.
// TolerationSeconds specifies how long this priority class can tolerate preemption by priorities lower than MinimumPreemptablePriority.
// It defaults to zero if not set. Zero value means the pod will be preempted immediately. i.e., no toleration at all.
// Negative value means the pod can tolerate forever.
// This value affects scheduled pods only (no effect on nominated pods).
TolerationSeconds *int64 `json:"tolerationSeconds,omitempty"`

Expand Down

0 comments on commit b15a950

Please sign in to comment.