k3s/pkg/scheduler
Kubernetes Submit Queue 12a6236148
Merge pull request #63178 from misterikkit/ecache-locking
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>.

scheduler: clean up and simplify equivalence cache locking

**What this PR does / why we need it**:
This is a cleanup of the locking code for equivalence cache. There is no change to the current logic or locking. This PR has a couple of implications, though.
1. It deletes (unreachable) code that could have been used to cache predicate results that consider nominated pods.
2. Callers should no longer lock/unlock the eCache manually, so coordinating that lock with other synchronization is restricted.


**Special notes for your reviewer**:

**Release note**:
<!--  Write your release note:
1. Enter your extended release note in the below block. If the PR requires additional action from users switching to the new release, include the string "**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 #
**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 #
action required".
2. If no release note is required, just write "NONE".
-->
```release-note
NONE
```
/sig scheduling
/kind cleanup
2018-04-30 19:29:49 -07:00
..
algorithm Merge pull request #59735 from wgliang/master.predicates_test 2018-04-26 20:41:33 -07:00
algorithmprovider Merge pull request #63174 from misterikkit/equivHash 2018-04-26 16:40:19 -07:00
api Add Ignorable flag to extender 2018-03-30 15:10:31 -07:00
core Hide EquivalenceCache mutex from users. 2018-04-27 15:55:10 -07:00
factory move pkg/scheduler/util/testutil.go to pkg/scheduler/testing 2018-04-28 02:36:04 +00:00
metrics Fix golint errors in `pkg/scheduler` based on golint check 2018-02-08 15:22:47 +08:00
schedulercache Do not schedule pod to the node under PID pressure. 2018-04-26 10:07:42 +08:00
testing run make update 2018-04-28 15:43:09 +00:00
util run make update 2018-04-28 15:43:09 +00:00
volumebinder Use provided node object in volume binding predicate 2018-04-05 14:35:55 -07:00
BUILD run make update 2018-04-28 15:43:09 +00:00
OWNERS Update OWNERS labels for cluster-lifecycle and scheduling 2018-04-05 16:25:04 -05:00
scheduler.go Merge pull request #62243 from resouer/fix-62068 2018-04-19 14:50:27 -07:00
scheduler_test.go move pkg/scheduler/util/testutil.go to pkg/scheduler/testing 2018-04-28 02:36:04 +00:00
testutil.go remove unused func in FakeConfigurator of scheduler 2018-01-25 16:08:13 +08:00