k3s/pkg
Kubernetes Submit Queue 5911f87dad
Merge pull request #56926 from wgliang/master
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>.

-Add scheduler optimization options, short circuit all predicates if …

…one predicate fails

Signed-off-by: Wang Guoliang <iamwgliang@gmail.com>

**What this PR does / why we need it**:
Short circuit all predicates if one predicate fails. 

I think we can add a switch to control it, maybe some scenes do not need to know all the causes of failure, but also can get a great performance improvement; if you need to fully understand the reasons for the failure, and accept the current performance requirements, can maintain the current logic. It should expose this switch to the user.

**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 #56889 and #48186

**Special notes for your reviewer**:
@davidopp

**Release note**:

```
Allow scheduler set AlwaysCheckAllPredicates, short circuit all predicates if one predicate fails can greatly improve the scheduling performance.
```
2018-01-14 04:53:05 -08:00
..
api Merge pull request #57059 from ericchiang/client-go/remove-openapi-import 2018-01-12 01:26:16 -08:00
apis Merge pull request #49874 from k82cn/add_nodeAffinity_in_err_msg 2018-01-10 08:15:41 -08:00
auth Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
bootstrap/api Add OWNERS file to pkg/bootstrap/api 2017-12-26 10:39:09 +08:00
capabilities Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
client Update generated files 2018-01-02 22:13:19 -08:00
cloudprovider Merge pull request #58208 from FengyunPan/fix-autoprobe-subnet 2018-01-13 00:36:23 -08:00
controller Merge pull request #56740 from dhilipkumars/UTImprove 2018-01-13 08:34:21 -08:00
credentialprovider All Kubelet flags should be explicitly registered 2018-01-09 17:37:34 -08:00
features Create a feature flag for sharing PID namespace 2018-01-10 19:33:46 +01:00
fieldpath Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
generated
kubeapiserver Merge pull request #56608 from hzxuzhonghu/fix-typo 2018-01-04 15:28:05 -08:00
kubectl Merge pull request #57843 from p0lyn0mial/wire_generic_scaler 2018-01-13 01:26:24 -08:00
kubelet Merge pull request #55921 from ScorpioCPH/fix-endpoint-ut 2018-01-13 03:34:57 -08:00
kubemark
master Use race="off" mode instead of disabling race feature 2017-12-23 13:13:09 -08:00
printers Merge pull request #56680 from weekface/weekface/tiny-fix 2018-01-03 09:22:22 -08:00
probe Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
proxy Merge pull request #57317 from m1093782566/notfound 2018-01-05 17:52:41 -08:00
quota Merge pull request #57027 from CaoShuFeng/resourcequota_validation_pod 2018-01-02 13:15:47 -08:00
registry Regenerate all generated code 2018-01-02 00:21:07 -08:00
routes
scheduler Merge pull request #56926 from wgliang/master 2018-01-14 04:53:05 -08:00
security Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
securitycontext Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
serviceaccount
ssh Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
util Merge pull request #57317 from m1093782566/notfound 2018-01-05 17:52:41 -08:00
version All Kubelet flags should be explicitly registered 2018-01-09 17:37:34 -08:00
volume Merge pull request #58089 from mtanino/issue/58085 2018-01-12 16:26:23 -08:00
watch
.import-restrictions
BUILD Fix scheduler refs in BUILD files. 2018-01-05 15:05:01 -08:00
OWNERS