kubernetes/pkg/scheduler/algorithm/predicates
Kubernetes Submit Queue 0cf3788419
Merge pull request #63174 from misterikkit/equivHash
Automatic merge from submit-queue (batch tested with PRs 62937, 63105, 63031, 63174). 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>.

Revert "Revert "Revert revert of equivalence class hash calculation i…

…n scheduler""

This reverts commit 4386751b5d.



**What this PR does / why we need it**:
This re-introduces the change from https://github.com/kubernetes/kubernetes/pull/58555 which changes how the scheduler computes equivalence classes of pods. I believe we have fixed the flakiness observed previously (https://github.com/kubernetes/kubernetes/issues/61512, https://github.com/kubernetes/kubernetes/issues/62921). I have run the test in question a few dozen times without a failure.

```bash
make test-integration WHAT="./test/integration/scheduler" KUBE_TEST_ARGS="-run TestPreemptionStarvation" GOFLAGS="-v"
```

/ref https://github.com/kubernetes/kubernetes/issues/58222

**Special notes for your reviewer**:
I had to resolve several merge conflicts. I think I resolved them correctly, but keep an eye out for anything silly.

**Release note**:

```release-note
NONE
```
/sig scheduling
2018-04-26 16:40:19 -07:00
..
BUILD Update generated files 2018-03-04 14:37:20 -08:00
error.go Do not schedule pod to the node under PID pressure. 2018-04-26 10:07:42 +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 Added more UT for invalid case. 2018-04-25 11:14:24 +08:00
predicates.go Do not schedule pod to the node under PID pressure. 2018-04-26 10:07:42 +08: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 revert of equivalence class hash calculation in scheduler"" 2018-04-25 16:11:59 -07:00