k3s/test/integration/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
..
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
extender_test.go Scheduler volume cache plumbing and predicate invalidation 2017-11-21 23:19:43 -08:00
main_test.go use testmain in integration tests 2017-07-12 17:34:55 -07:00
predicates_test.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
preemption_test.go Add PDB support during pod preemption 2017-11-22 09:46:26 -08:00
priorities_test.go Add pod eviction logic for scheduler preemption 2017-09-07 15:31:55 -07:00
scheduler_test.go Scheduler volume cache plumbing and predicate invalidation 2017-11-21 23:19:43 -08:00
taint_test.go Scheduler volume cache plumbing and predicate invalidation 2017-11-21 23:19:43 -08:00
util.go Scheduler volume cache plumbing and predicate invalidation 2017-11-21 23:19:43 -08:00
volume_binding_test.go Add scheduler and pv controller integration test 2017-11-21 23:19:44 -08:00