zhangmingld
7164967662
combine similar code where calucate schedule priority
2018-10-31 08:59:53 +08:00
k8s-ci-robot
fda41d14c4
Merge pull request #70366 from mlmhl/scheduler_optimization
...
Activate unschedulable pods only if the node became more schedulable
2018-10-30 04:57:12 -07:00
k8s-ci-robot
2f175c1b41
Merge pull request #70290 from tossmilestone/scheduler-test-refactor
...
Refactor scheduler_test.go to use Clientset
2018-10-29 22:07:52 -07:00
mlmhl
c50f89dd43
activate unschedulable pods only if the node became more schedulable
2018-10-30 10:45:59 +08:00
zhangmingld
429e67a12f
duplicated glog.V(10) when had a if glog.V(10)
2018-10-29 11:30:16 +08:00
He Xiaoxi
12634bf136
Refactor scheduler_test.go to use Clientset
...
Signed-off-by: He Xiaoxi <xxhe@alauda.io >
2018-10-29 09:51:07 +08:00
k8s-ci-robot
7b5705c619
Merge pull request #70203 from ravisantoshgudimetla/fix-e2e-resource-limits
...
Fix e2e resource limits
2018-10-26 19:13:41 -07:00
ravisantoshgudimetla
fad6b326e3
Fix default algorithm provider priority insertion
2018-10-26 13:48:44 -04:00
zhangmingld
cbfaf3856f
fix typo in predicates_test.go
2018-10-26 09:59:40 +08:00
k8s-ci-robot
101d26c613
Merge pull request #59529 from wackxu/addmetricvol
...
Add metrics for volume scheduling operations
2018-10-23 13:52:29 -07:00
wackxu
d5edcd3dc3
Add metrics to volume scheduling operations
2018-10-23 20:59:12 +08:00
k8s-ci-robot
060218a862
Merge pull request #69412 from tossmilestone/scheduler-factory-test
...
Refactor scheduler factory test
2018-10-15 13:52:41 -07:00
Bobby (Babak) Salamat
141b55abf5
Fix a bug in node tree when all nodes in a zone are removed
2018-10-12 21:39:38 -07:00
tanshanshan
b7c7966b9f
Move pkg/scheduler/algorithm/well_known_labels.go out
2018-10-13 09:10:00 +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
k8s-ci-robot
94306c12f5
Merge pull request #69057 from denkensk/create-a-new-scheduler-constructor
...
create-a-new-scheduler-constructor
2018-10-11 13:45:02 -07:00
k8s-ci-robot
539bdbc355
Merge pull request #69495 from wgliang/feature/movenodoinfofunctions
...
[scheduler cleanup phase 1]: Move NodeInfo utils into pkg/scheduler/cache
2018-10-11 07:12:40 -07:00
Guoliang Wang
a50404d441
[scheduler cleanup phase 1]: Move NodeInfo utils into pkg/scheduler/cache
2018-10-11 11:04:23 +08:00
Guoliang Wang
f44f55cdd7
[scheduler cleanup phase 1]: Move CacheComparer to pkg/scheduler/internal/cache/comparer
2018-10-10 21:28:14 +08:00
wangqingcan
608911d5ac
add test for new constructor
2018-10-10 17:15:10 +08:00
wangqingcan
a74fd15e62
create a new scheduler constructor
2018-10-10 17:10:10 +08:00
k8s-ci-robot
d3fe0ea7ff
Merge pull request #69318 from wgliang/feature/move-fakecache
...
[scheduler cleanup phase 1]: Move FakeCache to pkg/scheduler/internal…
2018-10-09 23:21:49 -07:00
Bobby (Babak) Salamat
5f2555e3ad
Remove pod status.phase check from pod event handlers
2018-10-09 13:39:04 -07:00
k8s-ci-robot
c00f19bd15
Merge pull request #68403 from wgliang/master.deprecate-Parallelize
...
Replace Parallelize with function ParallelizeUntil and formally depre…
2018-10-06 09:40:07 -07:00
Guoliang Wang
558e1960b8
[scheduler cleanup phase 1]: Move FakeCache to pkg/scheduler/internal/cache/fake
2018-10-06 23:58:53 +08:00
Guoliang Wang
187e2e01c9
Move scheduler cache interface and implementation to pkg/scheduler/internal/cache
2018-10-06 20:48:59 +08:00
Christoph Blecker
97b2992dc1
Update gofmt for go1.11
2018-10-05 12:59:38 -07:00
Guoliang Wang
c2622dd9d8
Replace Parallelize with function ParallelizeUntil and formally deprecate the Parallelize
2018-10-05 17:56:56 +08:00
Bobby (Babak) Salamat
2d9d8c405d
Add validation for percentage-of-nodes-to-score of the scheduler config
2018-10-02 17:09:47 -07:00
k8s-ci-robot
14949b302f
Merge pull request #68724 from krmayankk/sched1
...
scheduler: improve readability of bind function
2018-10-01 18:04:04 -07:00
k8s-ci-robot
5b658bb65e
Merge pull request #69136 from zhangmingld/deletecommentgetPodsMatchingAffinity
...
func getPodsMatchingAffinity no longer exists,dont need it in comment
2018-09-30 02:37:03 -07:00
Mayank Kumar
1ae12337db
scheduler: add error handling for bind
2018-09-28 21:13:21 -07:00
Wei Huang
9da576f03c
move SchedulingQueue to pkg/scheduler/internal/queue
2018-09-28 11:51:02 -07:00
Wei Huang
2e7461c087
auto-generated files
2018-09-28 11:51:01 -07:00
k8s-ci-robot
db1d1c8674
Merge pull request #68700 from Huang-Wei/schedulingQ-graceful-shutdown
...
shutdown schedulingQueue gracefully
2018-09-28 00:46:14 -07:00
Wei Huang
be661fddb4
shutdown schedulingQueue gracefully
...
- add Close() to interface SchedulingQueue
- implement Close() for FIFO and PriorityQueue
- add unit test
2018-09-27 14:32:58 -07:00
Wei Huang
56fcfc5fee
cleanup duplicate assignment logic in scheduler
2018-09-27 11:38:05 -07:00
k8s-ci-robot
762ddf792d
Merge pull request #68984 from k82cn/k8s_68899_m
...
Keep backward compatibility for 'node.Spec.Unschedulable'.
2018-09-27 04:48:49 -07:00
zhangmingld
061e0dbb7e
func getPodsMatchingAffinity no longer exists,dont need it in comment
2018-09-27 14:42:49 +08:00
k8s-ci-robot
823530d4db
Merge pull request #68917 from zhangmingld/fixwordserr
...
Fix some typo err
2018-09-26 22:59:32 -07:00
k8s-ci-robot
a6bc5aa49e
Merge pull request #68563 from DylanBLE/dev
...
fix scheduler crash when Prioritize Map function failed
2018-09-26 22:59:04 -07:00
Bobby (Babak) Salamat
c051f0d31a
autogenerated files
2018-09-26 14:22:21 -07:00
Bobby (Babak) Salamat
f340f8baf8
Remove PDB and its event handlers from the scheduler cache
2018-09-26 14:22:21 -07:00
hongjian.sun
f33c2c11f2
fix scheduler crash when Prioritize Map function failed
2018-09-26 20:16:05 +08:00
k8s-ci-robot
28d86ac47d
Merge pull request #67308 from cofyc/fix67260
...
Use monotonically increasing generation to prevent equivalence cache race
2018-09-25 00:18:00 -07:00
Jonathan Basseri
b0a8dbbc9d
Add scheduler throughput metric.
...
This adds a counter to the scheduler that can be used to calculate
throughput and error ratio. Pods which fail to schedule are not counted
as errors, but can still be tracked separately from successes.
We already measure scheduler latency, but throughput was missing. This
should be considered a key metric for the scheduler.
2018-09-24 14:38:39 -07:00
Da K. Ma
78f6484e14
Keep backward compatibility for 'node.Spec.Unschedulable'.
...
Signed-off-by: Da K. Ma <klaus1982.cn@gmail.com >
2018-09-23 10:33:51 +08:00
Yecheng Fu
b3f1e1200b
Update notes to document why invalidation order is important.
2018-09-22 12:09:24 +08:00
Yecheng Fu
2f46bc8a18
Use seqeuence number to represent generation of equivalence cache.
...
- snapshot equivalence cache generation numbers before snapshotting the
scheduler cache
- skip update when generation does not match live generation
- keep the node and increment its generation to invalidate it instead of
deletion
- use predicates order ID as key to improve performance
2018-09-22 12:08:21 +08:00
Yecheng Fu
a2cc1b1a20
Revert "Use sync.map to scale ecache better"
...
This reverts commit 17d0190706 .
2018-09-22 11:33:06 +08:00