kubernetes/plugin/pkg/scheduler
Kubernetes Submit Queue 82c88982c0
Merge pull request #56178 from bsalamat/pdb
Automatic merge from submit-queue (batch tested with PRs 55952, 49112, 55450, 56178, 56151). 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>.

Add PodDisruptionBudget support in pod preemption

**What this PR does / why we need it**:
This PR adds the logic to make scheduler preemption aware of PodDisruptionBudget. Preemption tries to avoid preempting pods whose PDBs are violated by preemption. If preemption does not find any other pods to preempt, it will preempt pods despite violating their PDBs.

**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 #53913

**Special notes for your reviewer**:

**Release note**:

```release-note
Add PodDisruptionBudget support during pod preemption
```

ref/ #47604

/sig scheduling
2017-11-22 21:48:48 -08:00
..
algorithm Merge pull request #55569 from x1957/fixtypo 2017-11-22 17:21:11 -08:00
algorithmprovider update build files 2017-11-21 23:19:44 -08:00
api Enforce use of fixed size int types in the API 2017-11-13 11:28:59 -08:00
core Merge pull request #56178 from bsalamat/pdb 2017-11-22 21:48:48 -08:00
factory update build files 2017-11-21 23:19:44 -08:00
metrics update BUILD files 2017-10-15 18:18:13 -07:00
schedulercache Merge pull request #55103 from ConnorDoyle/remove-oir 2017-11-22 00:27:27 -08:00
testing Autogenerated files 2017-10-20 23:22:03 -07:00
util Autogenerated files 2017-11-19 11:32:14 -08:00
volumebinder update build files 2017-11-21 23:19:44 -08:00
BUILD update build files 2017-11-21 23:19:44 -08:00
OWNERS Updated OWNERS_ALIASES for scheduler, and added scheduler integration test owners. 2017-07-01 09:28:52 +08:00
scheduler_test.go Add assume/bind volume functions to scheduler 2017-11-21 23:19:44 -08:00
scheduler.go Add assume/bind volume functions to scheduler 2017-11-21 23:19:44 -08:00
testutil.go Enforce use of fixed size int types in the API 2017-11-13 11:28:59 -08:00