@@ -33,7 +33,7 @@ superseded-by:
33
33
- [ Queue sort] ( #queue-sort )
34
34
- [ Pre-filter] ( #pre-filter )
35
35
- [ Filter] ( #filter )
36
- - [ Post-filter ] ( #post-filter )
36
+ - [ Pre-Score ] ( #pre-score )
37
37
- [ Scoring] ( #scoring )
38
38
- [ Reserve] ( #reserve )
39
39
- [ Permit] ( #permit )
@@ -165,7 +165,7 @@ are called.
165
165
One plugin may register at multiple extension points to perform more complex or
166
166
stateful tasks.
167
167
168
- ![ image] ( 20180409 -scheduling-framework-extensions.png)
168
+ ![ image] ( 20200125 -scheduling-framework-extensions.png)
169
169
170
170
### Queue sort
171
171
@@ -195,14 +195,12 @@ filter plugin marks the node as infeasible, the remaining plugins will not be
195
195
called for that node. Nodes may be evaluated concurrently, and Filter may be called
196
196
more than once in the same scheduling cycle.
197
197
198
- ### Post-filter
198
+ ### Pre-Score
199
199
200
- This is an informational extension point. Plugins will be called with a list of
201
- nodes that passed the filtering phase. A plugin may use this data to update
202
- internal state or to generate logs/metrics.
200
+ ** Notice: ` Pre-Score ` is available since v1alpha2, and it's known as ` Post-Filter ` before this version.**
203
201
204
- ** Note: ** Plugins wishing to perform " pre-scoring" work should use the
205
- post-filter extension point .
202
+ This is an informational extension point for performing pre-scoring work. Plugins will be called with a list of
203
+ nodes that passed the filtering phase. A plugin may use this data to update internal state or to generate logs/metrics .
206
204
207
205
### Scoring
208
206
@@ -479,7 +477,7 @@ type Plugins struct {
479
477
QueueSort []Plugin
480
478
PreFilter []Plugin
481
479
Filter []Plugin
482
- PostFilter []Plugin
480
+ PreScore []Plugin
483
481
Score []Plugin
484
482
Reserve []Plugin
485
483
Permit []Plugin
@@ -705,4 +703,4 @@ End-to-end tests are not needed when integration tests can provided adequate cov
705
703
# IMPLEMENTATION HISTORY
706
704
707
705
TODO: write down milestones and target releases, and a plan for how we will
708
- gracefully move to the new system
706
+ gracefully move to the new system
0 commit comments