Kubernetes Prow Robot
80afde7ca7
Merge pull request #70026 from bertinatto/only_schedule_pod_if_pv_requirements_are_met
...
Check PV requirements before scheduling
2019-01-07 03:46:21 -08:00
Kubernetes Prow Robot
dd53c82d7c
Merge pull request #72554 from misterikkit/cachecompare
...
Move CacheDebugger signal handling into the package.
2019-01-04 16:20:42 -08:00
Fabio Bertinatto
bb4fcddd1b
Check PV requirements before scheduling pod
2019-01-04 12:33:18 +01:00
Kubernetes Prow Robot
2a1560061e
Merge pull request #65546 from ravigadde/ext-api
...
Add missing json tags to extender config
2019-01-04 01:08:29 -08:00
Jonathan Basseri
95254d5457
Move CacheDebugger signal handling into the package.
...
This moves the signal handling for CacheDebugger from the factory
package into the CacheDebugger's package. That makes it easier to reuse
from packages other than factory.
2019-01-03 18:15:51 -08:00
Kubernetes Prow Robot
222d7837a8
Merge pull request #72303 from cofyc/fix72013-cleanup-scheduler
...
Update comments to reflect current logic
2019-01-03 15:51:34 -08:00
Kubernetes Prow Robot
1c2624effc
Merge pull request #71926 from wgliang/feature/modify-scheduler-result-and-add-log
...
[scheduler] Modify the scheduling result struct and improve logging f…
2019-01-03 14:37:50 -08:00
Ravi Gadde
4fcc712cc9
Add missing json tags to extender config
2019-01-03 14:20:24 -08:00
Guoliang Wang
3e69638772
[scheduler] Modify the scheduling result struct and improve logging for successful binding
2019-01-03 11:00:35 +08:00
Yecheng Fu
fa88bcc154
Update comments for PriorityQueue.
...
Log condition reason which is useful for debugging.
2019-01-03 09:25:05 +08:00
Kubernetes Prow Robot
65f87b5a4a
Merge pull request #72259 from bsalamat/fix_nominated_node
...
Fix a race in setting nominated node and the scheduling cycle after it.
2018-12-30 00:01:26 -08:00
Bobby (Babak) Salamat
7044145920
Fix race in setting nominated node
2018-12-29 22:54:15 -08:00
Kubernetes Prow Robot
cd06791709
Merge pull request #72396 from y-taka-23/register-plugins
...
Register plugins with the scheduling framework properly
2018-12-28 16:59:51 -08:00
Kubernetes Prow Robot
d6e0d5a9e8
Merge pull request #71929 from tanshanshan/schedulerlittle10
...
add description about namespace for pod in log
2018-12-28 10:52:12 -08:00
TAKAHASHI Yuto
ec6a9881a4
Register plugins with the scheduling framework properly
2018-12-28 19:10:01 +09:00
Jordan Liggitt
73dcfe12da
Stop checking VolumeScheduling feature gate
2018-12-27 17:45:45 -05:00
Kubernetes Prow Robot
aee1ab34ab
Merge pull request #72260 from bsalamat/fix_waiting_pods
...
Add pods in the backoff queue to the list of pending pods
2018-12-27 00:03:18 -08:00
Bhavin Gandhi
ca46c1da15
[scheduler] Move predicate & priority registration to separate file
...
- Maintain list of default predicates and priorities in defaults.go
and move the registration to separate files
Signed-off-by: Bhavin Gandhi <bhavin7392@gmail.com>
2018-12-22 19:30:34 +05:30
Kubernetes Prow Robot
37dc6789d7
Merge pull request #71978 from denkensk/move-predicate-types
...
Move predicate types from algorithm to predicates
2018-12-21 19:05:29 -08:00
Kubernetes Prow Robot
aaa4faba39
Merge pull request #72081 from denkensk/make-scheduleinternalcache-podFilter-public
...
Make PodFilter as part of public API
2018-12-21 12:37:39 -08:00
wangqingcan
000aa06912
Make scheduleinternalcache.PodFilter as public
2018-12-21 23:09:56 +08:00
wangqingcan
b82a1d4600
Move predicate types from algorithm to predicates
2018-12-21 22:26:47 +08:00
Kubernetes Prow Robot
d257ee9bfd
Merge pull request #72014 from huynq0911/scheduler-cleanup-71867-move-compatibility-test
...
[Fix issue scheduler cleanup 71867]: Move compatibility_test.go to pkg/scheduler/api
2018-12-20 22:39:09 -08:00
Kubernetes Prow Robot
0d63cf9caa
Merge pull request #67037 from Huang-Wei/cleanup-ood
...
cleanup logic related with OutOfDisk
2018-12-20 17:30:27 -08:00
Bobby (Babak) Salamat
48b6f75829
Add pods in the backoff queue to the list of pending pods
2018-12-20 17:28:23 -08:00
Nguyen Quang Huy
b2ceccec57
Fix issue scheduler cleanup 71867
...
Move compatibility_test.go to pkg/scheduler/api
2018-12-20 13:04:58 +07:00
Guoliang Wang
6515c4e09b
Set percentage of nodes scored in each cycle dynamically based on the cluster size
2018-12-20 11:20:00 +08:00
Wei Huang
8f87e71e0c
cleanup logic related with OutOfDisk
...
- cleanup OOD logic in scheduling and node controller
- update comments and testcases
2018-12-18 11:28:02 -08:00
Harry Zhang
797601d99d
Fixed outdated bazel
2018-12-17 17:05:49 -08:00
wangqingcan
1081e919e3
Eclass Task 1: clean up old equiv class code
...
Co-authored-by: Harry Zhang <resouer@gmail.com>
Co-authored-by: Wang Qingcan <wangqingcan@baidu.com>
2018-12-17 17:05:49 -08:00
Kubernetes Prow Robot
1d59ab05fa
Merge pull request #71118 from ping035627/k8s-181115
...
Add some exception handling of Preempt
2018-12-17 12:10:31 -08:00
Kubernetes Prow Robot
a521285b7c
Merge pull request #72073 from misterikkit/cleanup
...
Minor cleanup in scheduler/PriorityQueue
2018-12-14 23:23:19 -08:00
Jonathan Basseri
d27d28a44e
Flatten nominated pod logic in PriorityQueue.
...
This replaces deeply nested ifs & fors with early returns & continues.
2018-12-14 18:11:12 -08:00
Jonathan Basseri
fae4f69d36
Fix return value of PriorityQueue.Add.
...
This function was returning a non-nil error for the common, non-failure
case. The fix is to properly scope local error values and add early
returns.
2018-12-14 16:44:21 -08:00
Jonathan Basseri
8e25361320
Move `ScheduleAlgorithm` to the core package.
...
This moves the type `ScheduleAlgorithm` from `pkg/scheduler/algorithm`
to `pkg/scheduler/core`. The reason for this move is to fix our import
dependency graph and allow predicate & priority types to be moved into
their appropriate packages.
The new location makes sense because `core` is the only package that
exports an implementation of this type.
2018-12-13 15:08:38 -08:00
Kubernetes Prow Robot
05183bffe5
Merge pull request #71872 from yuexiao-wang/scheduler-nodeinfo
...
[scheduler cleanup phase 2]: Rename `pkg/scheduler/cache` to `pkg/scheduler/nodeinfo`
2018-12-12 08:08:33 -08:00
yuexiao-wang
7b6f60f085
modify BUILD
...
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
2018-12-11 11:22:06 +08:00
yuexiao-wang
f3353c358d
[scheduler cleanup phase 2]: Rename to
...
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
2018-12-11 11:21:12 +08:00
tanshanshan
a26074802f
add description about namespace for pod in log
2018-12-11 10:42:27 +08:00
mlmhl
2fe9b1438c
activate unschedulable pods only if the node became more schedulable
2018-12-10 09:48:23 +08:00
PingWang
98f852a441
Add some exception handling of Preempt
...
Signed-off-by: PingWang <wang.ping5@zte.com.cn>
revert options
Signed-off-by: PingWang <wang.ping5@zte.com.cn>
update returns for Preempt
Signed-off-by: PingWang <wang.ping5@zte.com.cn>
revert Preempt returns
Signed-off-by: PingWang <wang.ping5@zte.com.cn>
go fmt
Signed-off-by: PingWang <wang.ping5@zte.com.cn>
update the preempt
Signed-off-by: PingWang <wang.ping5@zte.com.cn>
move preemptionStartTime := time.Now() from line 496 to the else block.
Signed-off-by: PingWang <wang.ping5@zte.com.cn>
2018-12-10 08:44:10 +08:00
Kubernetes Prow Robot
f62b530f4d
Merge pull request #57057 from greghaynes/reschedule-with-backoff
...
Reschedule with backoff
2018-12-07 21:13:57 -08:00
Gregory Haynes
73710f06db
Check for shutdown in TryBackoffAndWait
2018-12-06 16:57:20 +00:00
Gregory Haynes
5e4ccede4c
Reschedule with backoff
...
With the alpha scheduling queue we move pods from unschedulable to
active on certain events without a backoff. As a result we can cause
starvation issues if high priority pods are in the unschedulable queue.
Implement a backoff mechanism for pods being moved to active.
Closes #56721
2018-12-06 16:38:34 +00:00
Kubernetes Prow Robot
720c10282c
Merge pull request #71722 from bsalamat/fix_priorityconfig
...
Avoid copying PriorityConfig and SchedulerExtender structs for every node while running priority functions
2018-12-05 20:31:51 -08:00
Bobby (Babak) Salamat
ece8f42ea2
Run old-style priority functions in parallel to the map-reduce style ones
2018-12-04 17:58:28 -08:00
Bobby (Babak) Salamat
76591db7d4
Avoid copying Extender struct while running priority functions
2018-12-04 13:50:59 -08:00
Bobby (Babak) Salamat
70f923ed05
Avoid copying PriorityConfig struct while running priority functions
2018-12-04 11:28:25 -08:00
Gregory Haynes
082b48240a
Implement scheduler.util.backoff as a queue
...
We are going to use PodBackoff for controlling backoff when adding
unschedulable pods back to the active scheduling queue. In order to do
this more easily, limit the interface for PodBackoff to only this struct
(rather than exposing BackoffEntry) and change the backing expiry
implementation to be queue based.
2018-12-04 18:01:43 +00:00
Gregory Haynes
c821f2ed2f
Move scheduling Heap in to scheduler.core.utils
...
The Heap data structure is useful for our backoff system in addition to
scheduling queue. Move it to somewhere it can be consumed by both
systems and properly export needed names. Also adding unit tests
from client-go/tools/cache/heap.go.
2018-12-04 18:01:42 +00:00