kubernetes/pkg/scheduler/algorithm/predicates
Kubernetes Submit Queue 98968c36d8
Merge pull request #62715 from bsalamat/fix_antiaffinity
Automatic merge from submit-queue (batch tested with PRs 62761, 62715). 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>.

Fix inter-pod anti-affinity check to consider a pod a match when all the anti-affinity terms match

**What this PR does / why we need it**:
Inter-pod anti-affinity check used to incorrectly consider a pod a match when any of the anti-affinity terms matched the pod. This PR fixes the logic to consider a pod a match when all the terms match the pod.

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

**Special notes for your reviewer**:

**Release note**:

```release-note
Fix inter-pod anti-affinity check to consider a pod a match when all the anti-affinity terms match.
```

/sig scheduling
2018-04-17 22:38:13 -07:00
..
BUILD Update generated files 2018-03-04 14:37:20 -08:00
error.go Fix golint errors in pkg/scheduler based on golint check 2018-02-08 15:22:47 +08:00
metadata_test.go Addressed reviewer comments 2018-04-12 16:30:08 -07:00
metadata.go Fix an issue in inter-pod affinity predicate that cause affinity to self being processed incorrectly 2018-04-14 19:46:38 -07:00
predicates_test.go Merge pull request #62715 from bsalamat/fix_antiaffinity 2018-04-17 22:38:13 -07:00
predicates.go Merge pull request #62715 from bsalamat/fix_antiaffinity 2018-04-17 22:38:13 -07:00
testing_helper.go Fix golint errors in pkg/scheduler based on golint check 2018-02-08 15:22:47 +08:00
utils_test.go Refactor HostIP predicate algorithm 2018-01-08 17:10:21 -08:00
utils.go Revert "Revert revert of equivalence class hash calculation in scheduler" 2018-03-23 17:34:49 -07:00