kubernetes/plugin/pkg/scheduler
Kubernetes Submit Queue 9642104e82 Merge pull request #39914 from kevin-wangzefeng/forgiveness-library-changes
Automatic merge from submit-queue (batch tested with PRs 40696, 39914, 40374)

Forgiveness library changes

**What this PR does / why we need it**:
Splited from #34825, contains library changes that are needed to implement forgiveness:

1. ~~make taints-tolerations matching respect timestamps, so that one toleration can just tolerate a taint for only a period of time.~~ As TaintManager is caching taints and observing taint changes, time-based checking is now outside the library (in TaintManager). see #40355.
2. make tolerations respect wildcard key.
3. add/refresh some related functions to wrap taints-tolerations operation.

**Which issue this PR fixes**: 
Related issue: #1574
Related PR: #34825, #39469 
~~Please note that the first 2 commits in this PR come from #39469 .~~

**Special notes for your reviewer**:

~~Since currently we have `pkg/api/helpers.go` and `pkg/api/v1/helpers.go`, there are some duplicated periods of code laying in these two files.~~

~~Ideally we should move taints-tolerations related functions into a separate package (pkg/util/taints), and make it a unified set of implementations. But I'd just suggest to do it in a follow-up PR after Forgiveness ones done, in case of feature Forgiveness getting blocked to long.~~

**Release note**:

```release-note
make tolerations respect wildcard key
```
2017-02-03 15:05:55 -08:00
..
algorithm forgiveness library changes 2017-01-31 21:39:17 +08:00
algorithmprovider Merge pull request #34543 from ivan4th/dont-require-failure-domains-for-pod-affinity-checker 2017-01-30 08:18:32 -08:00
api find and replace 2017-01-20 08:04:53 -05:00
factory make tools/cache authoritative 2017-01-25 08:29:45 -05:00
metrics Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
schedulercache Update generated files 2017-01-29 21:41:45 +01:00
testing start the apimachinery repo 2017-01-11 09:09:48 -05:00
util [scheduler] interface for configuration factory, configurator. 2017-01-18 15:06:16 -05:00
BUILD move client/record 2017-01-31 19:14:13 -05:00
equivalence_cache.go plugin/scheduler 2016-11-23 15:53:09 -08:00
extender_test.go refactor: use metav1.ObjectMeta in other types 2017-01-17 16:17:19 -05:00
extender.go find and replace 2017-01-20 08:04:53 -05:00
generic_scheduler_test.go pkg/api/resource: move to apimachinery 2017-01-29 21:41:44 +01:00
generic_scheduler.go move workqueue to client-go 2017-01-30 09:08:21 -05:00
OWNERS OWNERS: Update latest OWNERS files 2017-01-23 10:05:48 -08:00
scheduler_test.go move client/record 2017-01-31 19:14:13 -05:00
scheduler.go move client/record 2017-01-31 19:14:13 -05:00