kubernetes/plugin/pkg/scheduler/core
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
..
BUILD Merge pull request #56178 from bsalamat/pdb 2017-11-22 21:48:48 -08:00
equivalence_cache_test.go getHashEquivalencePod also returns if equivalence pod is found 2017-08-07 09:27:37 +08:00
equivalence_cache.go Note equivalence class for dev and other fix 2017-09-09 22:35:16 +08:00
extender_test.go Scheduler volume cache plumbing and predicate invalidation 2017-11-21 23:19:43 -08:00
extender.go HTTPExtender: shoud close resp.Body even when StatusCode not ok 2017-06-30 19:11:09 +08:00
generic_scheduler_test.go Merge pull request #56178 from bsalamat/pdb 2017-11-22 21:48:48 -08:00
generic_scheduler.go Merge pull request #56178 from bsalamat/pdb 2017-11-22 21:48:48 -08:00
scheduling_queue_test.go Added a new scheduling queue based on priority queue. 2017-11-19 11:29:23 -08:00
scheduling_queue.go Add logic to account for pods nominated to run on nodes, but are not running yet. 2017-11-20 22:17:05 -08:00