kubernetes/pkg/scheduler/algorithm
Kubernetes Submit Queue 6d8df0c400
Merge pull request #61445 from resouer/extender-priority
Automatic merge from submit-queue (batch tested with PRs 62063, 62169, 62155, 62139, 61445). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Schedule even if extender is not available when using extender 

**What this PR does / why we need it**:
When using scheduler extender, if the extender is not available scheduling of all pods fail.
We should let the scheduling happen but display error message that extender is failing.

`IsIgnorable()`  is added to extender to indicate: if scheduling of all pods should fail when it's unavailable

**Backward compabtiility:**

We use `IsIgnorable` instead of `IsCritical` so that when this flag is not set, the default value will be `false`, i.e. not ignorable, which consistent with the current behavior in existing extenders.

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes: #60616

**Special notes for your reviewer**:
kindly cc @ravisantoshgudimetla to see if this meets your expectation

TODO: update the examples in kubernetes/examples, but the strategy there is not clear to me for now

**Release note**:

```release-note
Schedule even if extender is not available when using extender 
```
2018-04-05 17:42:13 -07:00
..
predicates Delete in-tree support for NVIDIA GPUs. 2018-04-02 20:17:01 -07:00
priorities Delete in-tree support for NVIDIA GPUs. 2018-04-02 20:17:01 -07:00
BUILD Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
doc.go Fix golint errors in pkg/scheduler based on golint check 2018-02-08 15:22:47 +08:00
scheduler_interface_test.go Move scheduler code out of plugin directory. 2018-01-05 15:05:01 -08:00
scheduler_interface.go Add Ignorable flag to extender 2018-03-30 15:10:31 -07:00
types_test.go Rename func name according TODO 2018-01-15 00:08:59 -05:00
types.go Revert "Revert revert of equivalence class hash calculation in scheduler" 2018-03-23 17:34:49 -07:00
well_known_labels.go Added unscheduable taint. 2018-03-16 09:13:08 +08:00