• Kubernetes Submit Queue's avatar
    Merge pull request #56178 from bsalamat/pdb · 82c88982
    Kubernetes Submit Queue authored
    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
    82c88982
Name
Last commit
Last update
..
BUILD Loading commit data...
OWNERS Loading commit data...
extender_test.go Loading commit data...
main_test.go Loading commit data...
predicates_test.go Loading commit data...
preemption_test.go Loading commit data...
priorities_test.go Loading commit data...
scheduler_test.go Loading commit data...
taint_test.go Loading commit data...
util.go Loading commit data...
volume_binding_test.go Loading commit data...