Skip to content

Commit

Permalink
notes on the order of extenders
Browse files Browse the repository at this point in the history
  • Loading branch information
cofyc committed Jan 7, 2021
1 parent 4f390cb commit 8f43f44
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions keps/sig-scheduling/1819-scheduler-extender/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,9 @@ extenders:
ignorable: false
```

Multiple extenders can be configured and will be called sequentially in the
scheduler framework.

### Interface

#### Filter
Expand Down Expand Up @@ -233,6 +236,15 @@ type ExtenderFilterResult struct {

The "filter" call may prune the set of nodes based on its filter plugins.

Nodes in both `FailedNodesMap` and `FailedAndUnresolvableNodes` are
unschedulable, except the nodes in the latter will be skipped in preemption
phase.

When multiple extenders are configured, unschedulable nodes will not be passed
to subsequent extenders. It's recommended to order the extenders which may
report `UnschedulableAndUnresolvable` ahead of others. This can improve the
preemption efficiency.
#### Prioritize
Arguments passed to the `PrioritizeVerb` endpoint on the extender are the set of
Expand Down

0 comments on commit 8f43f44

Please sign in to comment.