Skip to content

Commit

Permalink
Merge pull request #2132 from cofyc/notes-on-order-of-extenders
Browse files Browse the repository at this point in the history
KEP-1819: notes on the order of extenders
  • Loading branch information
k8s-ci-robot authored Jan 7, 2021
2 parents c92adb2 + 78078f0 commit 35069fd
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 by the
scheduler.

### 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 that may
report `UnschedulableAndUnresolvable` ahead of others. This can improve the
preemption performance.
#### Prioritize
Arguments passed to the `PrioritizeVerb` endpoint on the extender are the set of
Expand Down

0 comments on commit 35069fd

Please sign in to comment.