Wei Huang
f822487f05
EvenPodsSpread: match selector of each constraint independently
...
- see more discussion at https://github.com/kubernetes/kubernetes/pull/77760#discussion_r305107973
2019-07-22 17:51:23 -07:00
Wei Huang
c23aef40f2
[eps-pred-meta] auto-gen files
2019-07-22 17:34:56 -07:00
Wei Huang
249752cc1f
fixup: fix comments and use a channel to pass err
2019-07-22 17:34:56 -07:00
Wei Huang
dce6686c9a
EvenPodsSpread: refactor "chained" utils
...
- move "chanined" utils to pkg/scheduler/testing/utils.go so as to be re-used by all scheduler tests
2019-07-22 17:34:56 -07:00
Wei Huang
3dbef991a3
EvenPodsSpread: refactor topologyPairsPodSpreadMap
...
- update minMatchMap from []int32 to map[string]int32
2019-07-22 17:34:56 -07:00
Wei Huang
a242e376ac
EvenPodsSpread: PredicateMetadata initilization
...
- build a new `topologyPairsPodSpreadMap` into PredicateMetadata
- update ShallowCopy()
- unit tests
2019-07-22 17:34:56 -07:00
Kubernetes Prow Robot
f31d786927
Merge pull request #78477 from YoubingLi/filter
...
Fixes 78001 The implementation of Filter extension for the new framework
2019-07-22 16:48:53 -07:00
Shintaro Murakami
169537499c
Record metrics when framework returns unschedulable error
2019-07-22 16:01:22 +09:00
Chun Chen
1f3bc52eab
Calling Unreserve plugin before recordSchedulingFailure in case of binding failure
...
Calling recordSchedulingFailure puts the pod back to scheduling queue in another
goroutine so pod may get a chance to be bond again before unreseve plugin cleaning
state about it.
2019-07-19 10:55:06 +08:00
Jun Gong
2dc5cf8c43
Set score plugin's weight to 1 if it is not set
2019-07-18 22:35:34 +08:00
Jun Gong
66347b516c
Precheck score plugins' weight when initializing
2019-07-18 21:19:21 +08:00
Kubernetes Prow Robot
ce80aeaac5
Merge pull request #78319 from egernst/scheduler-changes
...
Scheduler changes to introduce alpha support for Pod Overhead
2019-07-18 01:52:11 -07:00
Youbing Li
7f9dd949e0
The implementation of Filter extension for the new framework
2019-07-17 03:28:30 -04:00
Eric Ernst
9babbf8bd7
pod-overhead: autogenerated code for scheduling changes
...
Signed-off-by: Eric Ernst <eric.ernst@intel.com >
2019-07-16 12:56:19 -07:00
Eric Ernst
62e9717386
scheduler: add pod Overhead support for requests
...
Signed-off-by: Eric Ernst <eric.ernst@intel.com >
2019-07-16 12:56:19 -07:00
Abdullah Gharaibeh
a80425bd23
Fixed build files.
2019-07-16 10:24:10 -04:00
Abdullah Gharaibeh
73704f1b8e
Use error channel to capture first error.
2019-07-16 10:00:42 -04:00
Abdullah Gharaibeh
c54c4d1962
Score plugin for the scheduling framework.
2019-07-16 09:38:37 -04:00
Kubernetes Prow Robot
a155f3b0e9
Merge pull request #80132 from draveness/feature/rename-register-priority-function
...
fix: rename RegisterPriorityFunction2 to RegisterPriorityMapReduceFunction
2019-07-15 20:27:48 -07:00
Kubernetes Prow Robot
5a32bea904
Merge pull request #79777 from draveness/feature/refactor-scheduling-predicates
...
feat: use channel instead of mutex in scheduling predicates
2019-07-15 20:27:35 -07:00
Chun Chen
e04f03d3cb
Fix flaky test TestBindPlugin
2019-07-15 23:36:06 +08:00
Chun Chen
3bb1a081ab
Revert "Revert "Add Bind extension point of the scheduling framework""
...
This reverts commit b8950dab50 .
2019-07-15 23:36:02 +08:00
draveness
a4618d6790
fix: rename RegisterPriorityFunction2 to RegisterPriorityMapReduceFunction
2019-07-15 08:17:52 +08:00
Kubernetes Prow Robot
7285829b83
Merge pull request #78263 from misterikkit/nonZeroDocs
...
Add documentation about "non-zero requests"
2019-07-14 13:19:07 -07:00
draveness
fab1948a1b
feat: use channel instead of mutex in scheduling predicates
2019-07-13 09:11:52 +08:00
Yassine TIJANI
08522f8e5a
move scheduler to use v1beta1.events
...
Signed-off-by: Yassine TIJANI <ytijani@vmware.com >
2019-07-12 11:39:01 +02:00
jingxueli
6a1bbff60c
keep processing other nodes for the nil node error
2019-07-11 15:34:40 +08:00
Kubernetes Prow Robot
b7757ffbb9
Merge pull request #78280 from sevensees/master
...
Trace step should be at the end of calls rather than the begin.
2019-07-10 21:39:07 -07:00
Kubernetes Prow Robot
79564ebff7
Merge pull request #79877 from draveness/feature/use-scheduler-cache-instead
...
fix: use schedulerCache instead of podlister in config factory
2019-07-10 16:24:40 -07:00
Kubernetes Prow Robot
9e5018ba20
Merge pull request #79453 from chendave/short-circuit
...
Short-circuit the evaluation of `cpuFraction` and `memoryFraction`
2019-07-10 16:24:27 -07:00
shiyan2016
c329d5117d
cancel process node if error occurs
2019-07-09 19:50:48 -07:00
Kubernetes Prow Robot
6653a490fb
Merge pull request #79532 from snowplayfire/update-errMsg
...
improve error msg for predicate meta data
2019-07-09 13:46:37 -07:00
Jianfei Bai
95bd52cfe9
Trace step should be at the end of calls rather than the begin.
2019-07-08 16:54:04 +08:00
draveness
2fe0d4da27
fix: use schedulerCache instead of podlister in config factory
2019-07-08 14:35:30 +08:00
Kubernetes Prow Robot
3a009af5c2
Merge pull request #79098 from chendave/update_comments
...
Update the comments on how to check disk conflict
2019-07-04 08:18:36 -07:00
Yuqi Wang
848293ba29
Extender bind should respect IsInterested
2019-07-04 23:02:18 +08:00
Kubernetes Prow Robot
a9b3d7d821
Merge pull request #79639 from danielqsj/unr
...
call unreserve plugin before record event
2019-07-03 13:52:39 -07:00
Pingan2017
e94d7b3802
clean up redundant conditiontype OutOfDisk
2019-07-03 14:34:52 +08:00
danielqsj
d4ea78ea39
call unreserve plugin before record event
2019-07-03 11:34:52 +08:00
Ted Yu
acdc4d2001
Omit obtaining the lock when adding Nodes in newNodeTree
2019-07-02 23:16:08 +08:00
Kubernetes Prow Robot
dcd57c9e5e
Merge pull request #79076 from draveness/feature/read-nodes-from-scheduler-cache
...
fix: predicates read nodes from scheduler cache
2019-07-01 15:09:33 -07:00
Kubernetes Prow Robot
b4e3bd381b
Merge pull request #79524 from bertinatto/add_missing_informer
...
Add missing CSINodeInformer when creating ConfigFactoryArgs
2019-07-01 12:53:33 -07:00
jingxueli
6196f7274e
improve error msg for predicate meta data
2019-06-30 03:32:02 +08:00
draveness
30b0f8bf3b
fix: predicates read nodes from scheduler cache
2019-06-29 02:34:08 +08:00
Kubernetes Prow Robot
fa65154a58
Merge pull request #78412 from draveness/feature/assign=start-time-for-test-pod
...
fix: assign default value for pod.Status.StartTime in TestSelectNodes…
2019-06-28 08:05:39 -07:00
Fabio Bertinatto
dfc78caa21
Add missing CSINodeInformer when creating ConfigFactoryArgs
2019-06-28 13:32:03 +02:00
Dave Chen
a9d3a5f40d
Short-circuit the evaluation of cpuFraction and memoryFraction
...
Signed-off-by: Dave Chen <dave.chen@arm.com >
2019-06-27 13:56:48 +08:00
Hemant Kumar
6abc04d059
Add unit tests for CSI predicate
2019-06-25 16:30:54 +02:00
Fabio Bertinatto
00b0ab86af
Update scheduler to use volume limits from CSINode
2019-06-25 16:30:54 +02:00
draveness
ca6003bc75
feat: cleanup PodPriority features gate
2019-06-23 11:57:24 +08:00