sonasingh46
1fe7ce21bc
refactor(scheduler): Move priority types to priorities package
...
This moves the priority types from the algorithm package
to priorities package.
Idea is to move the type to the packages where it is
implemented. This will ease the future refactor process.
2019-01-09 02:39:11 +05:30
Guoliang Wang
3e69638772
[scheduler] Modify the scheduling result struct and improve logging for successful binding
2019-01-03 11:00:35 +08:00
wangqingcan
b82a1d4600
Move predicate types from algorithm to predicates
2018-12-21 22:26:47 +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
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
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
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
Bobby (Babak) Salamat
f74b30868c
Add plugin invocation for 'reserve' and 'prebind' plugins to the scheduler.
2018-11-30 16:03:47 -08:00
Jun Gong
9fc369dd0d
Add debug info: scheduler extenders's score and its name for each pod
2018-11-08 13:02:57 +08:00
Guoliang Wang
187e2e01c9
Move scheduler cache interface and implementation to pkg/scheduler/internal/cache
2018-10-06 20:48:59 +08:00
Wei Huang
9da576f03c
move SchedulingQueue to pkg/scheduler/internal/queue
2018-09-28 11:51:02 -07:00
Bobby (Babak) Salamat
f340f8baf8
Remove PDB and its event handlers from the scheduler cache
2018-09-26 14:22:21 -07:00
Bobby (Babak) Salamat
abb70aee98
Add a scheduler config argument to set the percentage of nodes to score
2018-08-17 11:18:51 -07:00
John Calabrese
ad234e58be
use subtest for table units
...
remove duplicate testname from error msg
remove subtest for test setup loop
do not break on test failure
https://github.com/kubernetes/kubernetes/pull/63665#discussion_r203571355
remove duplicate test.name in output
https://github.com/kubernetes/kubernetes/pull/63665#discussion_r203574001
https://github.com/kubernetes/kubernetes/pull/63665#discussion_r203574012
2018-07-20 16:02:50 -04:00
Bobby (Babak) Salamat
ffc8cc2f50
Improve scheduler's performance by eliminating sorting when finding the host with the highest score
2018-06-23 11:24:43 -07:00
Guoliang Wang
761cf41427
Move pkg/scheduler/schedulercache -> pkg/scheduler/cache
2018-05-31 22:55:34 +08:00
liz
ffeca16101
Remove some unnecessarily gendered pronouns in comments
2018-05-25 17:48:17 -04:00
Guoliang Wang
9219a76266
remove unused code of (pkg/scheduler)
2018-05-18 23:48:43 +08:00
Harry Zhang
4f0bd4121e
Disable pod preemption by config
2018-04-12 21:11:51 -07:00
Harry Zhang
083684d771
Add test to verify preempt ignore
2018-04-04 16:28:15 -07:00
Harry Zhang
7f04129736
Add Ignorable flag to extender
...
Ignore extender in generic scheduler
Add test to verify the ignorable flag
Fix warning msg
2018-03-30 15:10:31 -07:00
Harry Zhang
7a7f9dccd0
[PATCH] Use nodename as key
2018-03-07 22:10:47 -08:00
Harry Zhang
71603f2f85
Add preemption in scheduler extender
...
Add verb and preemption for scheduler extender
Update bazel
Use simple preemption in extender
Use node name instead of v1.Node
Fix support method
Fix preemption dup
Remove uneeded logics
Remove nodeInfo from param to extender
Update bazel for scheduler types
Mock extender cache with nodeInfo
Add nodeInfo as extender cache
Choose node name or node based on cache flag
Always return meta victims in result
2018-03-02 17:12:02 -08:00
Yang Guo
8d880506fe
Support cluster-level extended resources in kubelet and kube-scheduler
...
Co-authored-by: Yang Guo <ygg@google.com>
Co-authored-by: Chun Chen <chenchun.feed@gmail.com>
2018-02-27 17:25:30 -08:00
junxu
5deb5f4913
Rename func name according TODO
2018-01-15 00:08:59 -05:00
Wang Guoliang
b8526cd077
-Add scheduler optimization options, short circuit all predicates if one predicate fails
2018-01-13 18:18:55 +08:00
Jonathan Basseri
30b89d830b
Move scheduler code out of plugin directory.
...
This moves plugin/pkg/scheduler to pkg/scheduler and
plugin/cmd/kube-scheduler to cmd/kube-scheduler.
Bulk of the work was done with gomvpkg, except for kube-scheduler main
package.
2018-01-05 15:05:01 -08:00