mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-06-11 09:53:38 -04:00
Add explain for register TaintTolerationPriority function.
This commit is contained in:
parent
f4afdecef8
commit
f27bc9444d
1 changed files with 1 additions and 1 deletions
|
|
@ -225,7 +225,7 @@ func defaultPriorities() sets.String {
|
|||
// Prioritizes nodes that have labels matching NodeAffinity
|
||||
factory.RegisterPriorityFunction2("NodeAffinityPriority", priorities.CalculateNodeAffinityPriorityMap, priorities.CalculateNodeAffinityPriorityReduce, 1),
|
||||
|
||||
// TODO: explain what it does.
|
||||
// Prioritizes nodes that marked with taint which pod can tolerate.
|
||||
factory.RegisterPriorityFunction2("TaintTolerationPriority", priorities.ComputeTaintTolerationPriorityMap, priorities.ComputeTaintTolerationPriorityReduce, 1),
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue