• Kubernetes Submit Queue's avatar
    Merge pull request #61548 from aveshagarwal/master-service-anti-affinity-1 · a2af1215
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue. 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>.
    
    Do not consider pods being deleted in the same namespace for spreading purposes  for service anti-affinity priority similar to selectorspread priority.
    
    **What this PR does / why we need it**:
    
    Currently for service anti-affinity priority, pods being deleted in the same namespace are being considered in computation for spreading purposes, which should not happen. This PR aligns it with selectorspread priority, which also does spreading and does not consider pods being deleted in the same namespace. 
    
    @bsalamat @timothysc @kubernetes/sig-scheduling-bugs 
    
    **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 #
    
    **Special notes for your reviewer**:
    
    **Release note**:
    
    ```release-note
    None
    ```
    a2af1215
Name
Last commit
Last update
..
predicates Loading commit data...
priorities Loading commit data...
BUILD Loading commit data...
doc.go Loading commit data...
scheduler_interface.go Loading commit data...
scheduler_interface_test.go Loading commit data...
types.go Loading commit data...
types_test.go Loading commit data...
well_known_labels.go Loading commit data...