wangqingcan
52f3380ef3
change preempting to PreemptionPolicy
2019-05-31 12:42:05 +08:00
wangqingcan
5c9438c691
non-preempting-priorityclass
...
Co-authored-by: Vallery Lancey <vallery@zeitgeistlabs.io>
Co-authored-by: Tan shanshan <tan.shanshan@zte.com.cn>
2019-05-31 12:37:07 +08:00
Kubernetes Prow Robot
bb475c4a64
Merge pull request #77567 from wgliang/features/scheduling-framework-post-bind
...
Add Post-bind extension point to the scheduling framework
2019-05-29 17:24:20 -07:00
JieJhih Jhang
823111c0fe
use iota instead assign value to constants
2019-05-24 18:45:01 +08:00
Ted Yu
3d07221507
Put non-ignorable extenders ahead of ignorable extenders
...
Signed-off-by: Ted Yu <yute@vmware.com>
2019-05-23 13:50:25 -07:00
Guoliang Wang
20f9c9940e
Add Post-bind extension point to the scheduling framework
2019-05-19 18:12:16 +08:00
Kubernetes Prow Robot
89031553ce
Merge pull request #77845 from draveness/bugfix/resource-allocation-priority
...
fix: verify metadata is non-nil in resource allocation
2019-05-18 23:11:12 -07:00
Kubernetes Prow Robot
df4f033a4f
Merge pull request #77501 from JieJhih/scheduling/plugin
...
add scheduling framework configuration
2019-05-18 03:39:12 -07:00
draveness
73367250a3
fix: verify metadata is non-nil in resource allocation
2019-05-18 10:05:44 +08:00
JieJhih Jhang
0734d1debb
handle nil extension points
2019-05-18 07:24:27 +08:00
JieJhih Jhang
2cd5fc54a1
add scheduling framework configuration
...
update bazel build
fix get plugin config method
initialize only needed plugins
fix unit test
fix import duplicate package
update bazel
add docstrings
add weight field to plugin
add plugin to v1alpha1
add plugins at appropriate extension points
remove todo statement
fix import package file path
set plugin json schema
add plugin unit test to option
initial plugin in test integration
initialize only needed plugins
update bazel
rename func
change plugins needed logic
remove v1 alias
change the comment
fix alias shorter
remove blank line
change docstrings
fix map bool to struct
add some docstrings
add unreserve plugin
fix docstrings
move variable inside the for loop
make if else statement cleaner
remove plugin config from reserve plugin unit test
add plugin config and reduce unnecessary options for unit test
update bazel
fix race condition
fix permit plugin integration
change plugins to be pointer
change weight to int32
fix package alias
initial queue sort plugin
rename unreserve plugin
redesign plugin struct
update docstrings
check queue sort plugin amount
fix error message
fix condition
change plugin struct
add disabled plugin for unit test
fix docstrings
handle nil plugin set
2019-05-18 06:30:28 +08:00
Wei Huang
29195faa69
supplemental logic to ensure nominatedPodMap.update() is still stateless
2019-05-17 07:44:05 -07:00
Wei Huang
115fe94b6f
scheduler: fix flaky test TestPreemptionRaces
...
In some cases, an Update event with no "NominatedNode" present is received right
after a node("NominatedNode") is reserved for this pod in memory.
If we go updating (delete and add) it, it actually un-reserves the node since
the newPod doesn't carry sped.status.nominatedNode.
In this case, during this time other low-priority pods have chances to take space which
was reserved for the nominatedPod.
2019-05-17 07:44:04 -07:00
Kubernetes Prow Robot
796ecb9391
Merge pull request #77529 from draveness/feature/add-queuesort-extension-point
...
feat: implement "queue-sort" extension point for scheduling framework
2019-05-16 01:09:42 -07:00
draveness
d60bccc6a4
feat: implement "queue-sort" extension point for scheduling framework
2019-05-15 09:40:15 +08:00
draveness
cd3aac34ea
feat: cache pod limits as part of metadata in priority functions
2019-05-14 21:36:09 +08:00
Abdullah Gharaibeh
98de316436
Implement the permit extension point in scheduler.
2019-05-10 12:42:04 -04:00
Kubernetes Prow Robot
b9ccdd2824
Merge pull request #77598 from danielqsj/unreserve
...
Add Un-reserve extension point for the scheduling framework
2019-05-09 23:37:57 -07:00
danielqsj
997648a923
Add Un-reserve extension point for the scheduling framework
2019-05-10 13:19:22 +08:00
Kubernetes Prow Robot
e45f92fc0a
Merge pull request #77626 from ahg-g/ahg-mutex
...
Make thread-safe the prebind callback of stateful plugin in scheduler…
2019-05-09 14:14:27 -07:00
Abdullah Gharaibeh
7b127311a4
Make thread-safe the prebind callback of stateful plugin in scheduler framework.
2019-05-08 22:19:21 -04:00
Wei Huang
c4df3a2c44
prevent `predicatesOrdering` from escaping from UT
...
- sets `predicatesOrdering` back to original value in UT
2019-05-08 18:05:34 -07:00
Kubernetes Prow Robot
baa2030683
Merge pull request #77509 from ahg-g/faster_scheduler
...
Faster scheduler
2019-05-08 17:15:00 -07:00
Andrew Kim
c919139245
update import of generic featuregate code from k8s.io/apiserver/pkg/util/feature -> k8s.io/component-base/featuregate
2019-05-08 10:01:50 -04:00
Abdullah Gharaibeh
e660e84459
Faster scheduler.
2019-05-08 09:49:01 -04:00
Han Kang
51992d61a0
Revert "Add Un-reserve extension point for the scheduling framework"
...
This reverts commit 8b5182581a
.
2019-05-07 21:17:29 -07:00
Kubernetes Prow Robot
1ce103a41f
Merge pull request #77457 from danielqsj/un-reserve
...
Add Un-reserve extension point for the scheduling framework
2019-05-07 17:52:45 -07:00
Kubernetes Prow Robot
a1588cfe34
Merge pull request #77478 from draveness/feature/remove-log-in-scheduler
...
feat: remove klog in AddUnschedulableIfNotPresent
2019-05-07 01:45:49 -07:00
danielqsj
8b5182581a
Add Un-reserve extension point for the scheduling framework
2019-05-07 14:51:58 +08:00
draveness
6382595221
feat: move klog from AddUnschedulableIfNotPresent into the call site
2019-05-07 00:40:25 +08:00
Kubernetes Prow Robot
ea5be337dd
Merge pull request #76698 from WanLinghao/scheduler_duplicate_import
...
Remove duplicate package import
2019-05-06 02:19:36 -07:00
Kubernetes Prow Robot
ef550e6989
Merge pull request #75434 from cofyc/fix56098
...
Refactor PV scheduling library into a separate package
2019-05-03 22:17:38 -07:00
Onur Satici
1fccb933c6
make example plugins conform with the PluginFactory type
2019-05-03 21:05:52 +01:00
Onur Satici
78f7027f66
fix scheduler plugin example
2019-05-03 11:56:00 +01:00
Yecheng Fu
214ea1a9d3
Update scheduler to use new volume scheduling library
...
To fix scheme issue, use k8s.io/client-go/kubernetes/scheme instead of
legacyscheme.
2019-05-02 14:57:47 +08:00
Bobby (Babak) Salamat
83828bcb2d
autogenerated files
2019-04-29 16:40:56 -07:00
Bobby (Babak) Salamat
77824f5135
Change scheduler constructors to receive a plugin registry.
2019-04-29 16:40:56 -07:00
Bobby (Babak) Salamat
54afaf2326
Add framework and registry for the scheduling framework
2019-04-29 16:40:56 -07:00
Bobby (Babak) Salamat
404dc1ed79
Update scheduler framework plugins to align with the latest changes to the framework design
2019-04-29 16:40:56 -07:00
Kubernetes Prow Robot
a0d8278346
Merge pull request #76301 from xiuqiaoli/master
...
Remove FIFO scheduling queue and old pod backoff logic
2019-04-24 19:36:44 -07:00
xiuqiao
36effb4700
Remove FIFO scheduling queue and old pod backoff logic
2019-04-25 07:35:22 +08:00
Wei Huang
492b970d73
lazy/dynamic initilization on the int64 pointers of inter-podaffinity priority
2019-04-24 08:13:24 -07:00
Wei Huang
854a266e94
Revert "Revert "scheduler: performance improvement on PodAffinity""
...
This reverts commit 6d89279115
.
2019-04-24 08:13:24 -07:00
Kubernetes Prow Robot
71d064040f
Merge pull request #76883 from hex108/cancel
...
Cancel processing node if error occurs when getting affinity and anti…
2019-04-24 02:44:17 -07:00
Kubernetes Prow Robot
5f3152e29b
Merge pull request #76777 from cwdsuzhou/useless_caller
...
Change some code place to void useless caller
2019-04-24 02:44:05 -07:00
Jun Gong
5ad4cd6b72
Cancel processing node if error occurs when getting affinity and antiaffinity
2019-04-22 11:35:23 +08:00
Davanum Srinivas
7b8c9acc09
remove unused code
...
Change-Id: If821920ec8872e326b7d85437ad8d2620807799d
2019-04-19 08:36:31 -04:00
caiweidong
4486021837
Avoid useless caller
2019-04-19 00:18:54 +08:00
WanLinghao
baf371a188
Remove duplicate package import
2019-04-17 16:37:36 +08:00
Kubernetes Prow Robot
a670e85ad8
Merge pull request #76536 from cwdsuzhou/remove_unused_lock
...
Remove unused lock in scheduler
2019-04-16 17:48:19 -07:00