Wei Huang
49346c1e04
shorten scheduler package alias for better readability
...
- schedulerinternalcache -> internalcache
2019-03-21 18:14:19 -07:00
Mayank Kumar
e0a7d96632
Move informer event handlers to Scheduler
2019-01-29 17:53:20 -08:00
sunxiaofei03
fc8a84bb56
Change from method to function
2019-01-14 09:05:44 +08:00
sunxiaofei03
cf4eacfdc7
Change from method to function
2019-01-09 09:11:12 +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
mlmhl
2fe9b1438c
activate unschedulable pods only if the node became more schedulable
2018-12-10 09:48:23 +08:00
Jonathan Basseri
b864a5a808
Remove scheduler "TestGroup" utility.
...
This util was used to fake certain aspects of apiserver behavior, such
as resource paths and JSON encoding. Our unit tests have been refactored
so they don't rely on the REST or JSON aspects of apiserver. This util
is no longer needed.
2018-12-03 16:28:21 -08:00
k8s-ci-robot
be800e623a
Merge pull request #69663 from sttts/sttts-scheduler-secure-serving
...
scheduler: enable secure port and authn/z
2018-11-08 17:36:14 -08:00
Dr. Stefan Schimanski
d91feb6d18
kube-scheduler: move stopCh creation out of scheduler factory code
...
Enforces clean ownership of the channel.
2018-11-08 16:43:59 +01:00
k8s-ci-robot
c5b453b717
Merge pull request #70783 from hex108/debug_extender
...
Add debug info: scheduler extenders's score and its name for each pod
2018-11-08 02:51:12 -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
Babak "Bobby" Salamat
2c8e73a16b
Revert "Activate unschedulable pods only if the node became more schedulable"
2018-11-07 16:57:47 -08:00
mlmhl
c50f89dd43
activate unschedulable pods only if the node became more schedulable
2018-10-30 10:45:59 +08:00
He Xiaoxi
a96a390d92
Refactor scheduler factory test
...
Use `k8s.io/client-go/kubernetes/fake.Clientset` as the fake k8s client.
Signed-off-by: He Xiaoxi <xxhe@alauda.io>
2018-10-12 14:39:08 +08:00
wangqingcan
a74fd15e62
create a new scheduler constructor
2018-10-10 17:10:10 +08:00
Guoliang Wang
558e1960b8
[scheduler cleanup phase 1]: Move FakeCache to pkg/scheduler/internal/cache/fake
2018-10-06 23:58:53 +08:00
Christoph Blecker
97b2992dc1
Update gofmt for go1.11
2018-10-05 12:59:38 -07:00
Wei Huang
9da576f03c
move SchedulingQueue to pkg/scheduler/internal/queue
2018-09-28 11:51:02 -07:00
Michelle Au
e124159990
Add scheduler option for bind timeout
2018-09-04 17:25:23 -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
xushiwei 00425595
fed8572745
use apps/v1 version for scheduler
2018-07-26 17:37:29 +08:00
Kubernetes Submit Queue
357decc9db
Merge pull request #63666 from xchapter7x/pkg-scheduler-factory
...
Automatic merge from submit-queue (batch tested with PRs 58487, 63666). 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>.
use subtest for table units (pkg/scheduler/factory)
**What this PR does / why we need it**: Update scheduler's unit table tests to use subtest
**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
**Special notes for your reviewer**:
breaks up PR: https://github.com/kubernetes/kubernetes/pull/63281
/ref #63267
**Release note**:
```release-note
This PR will leverage subtests on the existing table tests for the scheduler units.
Some refactoring of error/status messages and functions to align with new approach.
```
2018-07-19 02:09:06 -07:00
Guoliang Wang
761cf41427
Move pkg/scheduler/schedulercache -> pkg/scheduler/cache
2018-05-31 22:55:34 +08:00
John Calabrese
c6379cef0e
use subtest for table units
2018-05-28 09:41:31 -04:00
David Eads
94e3d94d67
update tests to be specific about the versions they are testing instead of floating
2018-05-01 13:18:41 -04:00
ceshihao
56b3f2f409
move pkg/scheduler/util/testutil.go to pkg/scheduler/testing
2018-04-28 02:36:04 +00:00
David Eads
a89291a5de
stop duplicating preferred version order
2018-04-26 10:03:36 -04:00
Harry Zhang
4f0bd4121e
Disable pod preemption by config
2018-04-12 21:11:51 -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
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
Di Xu
48388fec7e
fix all the typos across the project
2018-02-11 11:04:14 +08:00
Yang Guo
f69eaa3b18
kube-scheduler: Use default predicates/prioritizers if policy config does not specify them
2018-02-06 13:01:33 -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