Document the changes of scheduler PostFilter extension point

This commit is contained in:
Wei Huang
2020-07-08 12:44:26 -07:00
parent d6b7bf5f38
commit e2fd28a35b
4 changed files with 24 additions and 16 deletions
@@ -75,6 +75,14 @@ node, the scheduler will call filter plugins in their configured order. If any
filter plugin marks the node as infeasible, the remaining plugins will not be
called for that node. Nodes may be evaluated concurrently.
### PostFilter {#post-filter}
These plugins are called after Filter phase, but only when there is no feasible
node. Each plugin is called by their configured order. If any postFilter plugin
marks the node as `Schedulable`, the remaining plugins will not be called.
A typical PostFilter implementation is preemption, which tries to make the pod
schedulable by preempting other Pods.
### PreScore {#pre-score}
These plugins are used to perform "pre-scoring" work, which generates a sharable