Erik Wilson
765fd253f6
Update vendor
2019-08-19 09:17:28 -07:00
Darren Shepherd
b6ce4c1a4a
Remove EnableEquivalenceClassCache
2019-08-19 08:33:09 -07:00
Kubernetes Prow Robot
7bcdbc5a51
Merge pull request #74446 from yanghaichao12/comm0223
...
Fix typos
2019-03-05 23:24:00 -08:00
yanghaichao12
b475cdf7fc
Fix typos
...
change SupportsPreemption
change comment again
2019-03-05 02:12:55 -05:00
Bobby (Babak) Salamat
a1b8777d42
Revert "Merge pull request #73934 from bsalamat/num_cpu"
...
This reverts commit cfe4ca8012
, reversing
changes made to f16035600a
.
2019-03-04 13:14:25 -08:00
Kubernetes Prow Robot
cfe4ca8012
Merge pull request #73934 from bsalamat/num_cpu
...
Use runtime.NumCPU() instead of a fixed value for parallel scheduler threads
2019-03-01 23:04:17 -08:00
danielqsj
f7b437cae0
convert latency in mertics name to duration
2019-02-22 21:40:13 +08:00
Bobby (Babak) Salamat
e0ad271891
Optimize scheduler cache snapshotting using an MRU structure.
2019-02-20 13:38:37 -08:00
Bobby (Babak) Salamat
d0ebeefbc4
Use runtime.NumCPU() instead of a fixed value for parallel scheduler threads.
2019-02-11 13:37:30 -08:00
Andrew Kim
93b086f6ea
replace k8s.io/apiserver/pkg/util/trace with k8s.io/utils/trace
2019-01-24 15:34:21 -05:00
Bobby (Babak) Salamat
fa6d17f400
Cleanup todo
2019-01-15 17:03:59 -08:00
Kubernetes Prow Robot
14b2014c4a
Merge pull request #72079 from sonasingh46/cleanup
...
refactor(scheduler): Move priority types to priorities package
2019-01-15 09:24:15 -08:00
Kubernetes Prow Robot
148248353b
Merge pull request #72895 from bsalamat/no_refresh_preemption
...
Do not snapshot scheduler cache before starting preemption
2019-01-14 22:06:14 -08:00
Bobby (Babak) Salamat
127321296c
Fix and improve preemption test to work with the new logic
2019-01-14 14:27:16 -08:00
Bobby (Babak) Salamat
e3f4e1e378
Do not snapshot scheduler cache before starting preemption
2019-01-14 12:07:50 -08:00
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
danielqsj
5b42a84cde
Change scheduler metrics to conform guideline
2019-01-08 11:16:01 +08: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
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
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
d6e0d5a9e8
Merge pull request #71929 from tanshanshan/schedulerlittle10
...
add description about namespace for pod in log
2018-12-28 10:52:12 -08:00
wangqingcan
b82a1d4600
Move predicate types from algorithm to predicates
2018-12-21 22:26:47 +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
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
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
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
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
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
Bobby (Babak) Salamat
e60f510e38
Autogenerated files
2018-11-30 16:03:47 -08:00
Bobby (Babak) Salamat
f74b30868c
Add plugin invocation for 'reserve' and 'prebind' plugins to the scheduler.
2018-11-30 16:03:47 -08:00
k8s-ci-robot
527d1c34cc
Merge pull request #70947 from Adirio/nodetree-thread-safety
...
Scheduler internal NodeTree thread-safe NumNodes
2018-11-29 07:36:48 -08:00
k8s-ci-robot
7e621ccb08
Merge pull request #71063 from Huang-Wei/nodeinfo-clone-panic
...
fix a scheduler panic due to internal cache inconsistency
2018-11-16 20:27:44 -08:00
Wei Huang
b4fd11512a
ensure scheduler preemptor behaves in an efficient/correct path
...
- don't update nominatedMap cache when Pop() an element from activeQ
- instead, delete the nominated info from cache when it's "assumed"
- unit test behavior adjusted
- expose SchedulingQueue in factory.Config
2018-11-16 14:22:15 -08:00
Wei Huang
a86ba8b3c4
fix a scheduler panic due to internal cache inconsistency
2018-11-16 13:02:13 -08:00
Adrián Orive
c7cba7370f
Scheduler internal NodeTree thread-safe NumNodes
...
Signed-off-by: Adrián Orive <adrian.orive.oneca@gmail.com>
2018-11-13 08:40:48 +01:00
Davanum Srinivas
954996e231
Move from glog to klog
...
- Move from the old github.com/golang/glog to k8s.io/klog
- klog as explicit InitFlags() so we add them as necessary
- we update the other repositories that we vendor that made a similar
change from glog to klog
* github.com/kubernetes/repo-infra
* k8s.io/gengo/
* k8s.io/kube-openapi/
* github.com/google/cadvisor
- Entirely remove all references to glog
- Fix some tests by explicit InitFlags in their init() methods
Change-Id: I92db545ff36fcec83afe98f550c9e630098b3135
2018-11-10 07:50:31 -05:00