kubernetes/plugin/pkg/scheduler/algorithmprovider/defaults
Kubernetes Submit Queue 79b5ccc176 Merge pull request #41708 from bsalamat/statefulset_spreading2
Automatic merge from submit-queue (batch tested with PRs 42200, 39535, 41708, 41487, 41335)

Add support for statefulset spreading to the scheduler

**What this PR does / why we need it**:
The scheduler SelectorSpread priority funtion didn't have the code to spread pods of StatefulSets. This PR adds StatefulSets to the list of controllers that SelectorSpread supports.

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

**Special notes for your reviewer**:

**Release note**:

```release-note
Add the support to the scheduler for spreading pods of StatefulSets.
```
2017-02-28 20:16:08 -08:00
..
BUILD Merge pull request #40269 from tanshanshan/unittest-scheduler-default 2017-02-28 01:24:11 -08:00
compatibility_test.go Add support for statefulset spreading to the scheduler 2017-02-27 18:04:08 -08:00
defaults_test.go add unit test for scheduler 2017-02-23 09:09:35 +08:00
defaults.go Merge pull request #41708 from bsalamat/statefulset_spreading2 2017-02-28 20:16:08 -08:00