Aldo Culquicondor
c048858471
Support multiple scheduling profiles in a single scheduler
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-02-25 11:31:20 -05:00
Maciej Borsz
bd8ed0a2a7
Add BenchmarkSchedulingWaitForFirstConsumerPVs benchmark
2020-02-25 14:41:14 +01:00
Abdullah Gharaibeh
d31dcecd20
cleanup unused scheduler functions/files
2020-01-03 19:09:14 -05:00
Igor Zibarev
6350095d3c
scheduler: make algorithm source an option
...
Changes scheduler.New so that algorithm source is moved from the
parameter to an option. The default algorithm source is source with the
DefaultProvider.
2019-11-13 10:22:29 +03:00
David Eads
2d4fa51a6d
close scheduler kube-apiserver
2019-11-11 08:04:22 -05:00
draveness
47a6c5b693
feat(scheduler): use context in the scheduler package
...
+ Use context instead of stopCh
+ Add context to the scheduling framework interface
2019-10-17 09:03:55 +08:00
draveness
e5a23f8dda
fix: scheduler perf test with pod informer
2019-10-15 13:54:45 +08:00
draveness
ee4dec65b5
feat(scheduler): expose SharedInformerFactory to the framework handle
2019-10-11 10:23:21 +08:00
Abdullah Gharaibeh
30e7016ccf
Refactor scheduler.New so that all framework-related parameters are passed as options
2019-10-03 11:39:59 -04:00
Abdullah Gharaibeh
3174d9c847
Added a noop plugin to make sure we have the dependencies worked out for the default registry of the scheduler framework.
2019-09-13 13:36:35 -04:00
draveness
6cfec4d919
feat: remove factory.Config from mustSetupScheduler
2019-08-21 19:54:28 +08:00
draveness
6d77624bc3
feat: use scheduler.New instead in createSchedulerConfigurator
2019-08-21 19:09:57 +08:00
Aldo Culquicondor
d935b1054c
Remove Configurator interface
...
The Configurator has been used as a holder for listers that tests need,
which is not its purpose. By making the tests obtain listers from more
appropriate places, such as informers, there is no need for various
accessors to the Configurator.
Also, FakeConfigurator is not being used anymore, so there's no need for
an interface instead of a plain pointer.
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2019-08-01 08:36:38 -04:00
Yassine TIJANI
08522f8e5a
move scheduler to use v1beta1.events
...
Signed-off-by: Yassine TIJANI <ytijani@vmware.com>
2019-07-12 11:39:01 +02:00
Fabio Bertinatto
dfc78caa21
Add missing CSINodeInformer when creating ConfigFactoryArgs
2019-06-28 13:32:03 +02:00
Fabio Bertinatto
00b0ab86af
Update scheduler to use volume limits from CSINode
2019-06-25 16:30:54 +02:00
caiweidong
4c12c76a90
clean up unused code
2019-04-10 19:12:40 +08:00
wangqingcan
e2af183d3e
import DefaultProvider
2019-03-19 16:21:34 +08:00
Mayank Kumar
e0a7d96632
Move informer event handlers to Scheduler
2019-01-29 17:53:20 -08:00
Guoliang Wang
18434c3465
fix scheduler_perf integration test fails
2019-01-17 10:05:02 +08:00
Guoliang Wang
3c24c99b08
Move users of factory.NewConfigFactory
to scheduler.New
2019-01-09 06:40:30 +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
Bobby (Babak) Salamat
1b8e1d9ed8
Disable equivalence cache by default in the scheduler integration tests
2018-11-13 11:23:19 -08: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
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
wangqingcan
a74fd15e62
create a new scheduler constructor
2018-10-10 17:10:10 +08: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
Harry Zhang
923fb8ed39
remove knob of equiv class in perf test
2018-05-18 17:17:03 -07:00
Harry Zhang
4f0bd4121e
Disable pod preemption by config
2018-04-12 21:11:51 -07:00
Mikhail Mazurskiy
468655b76a
Use typed events client directly
2018-04-01 18:57:29 +10:00
Harry Zhang
187c5bc91e
Use initTest for integration to start scheduler
...
Fix import path
Fix configurator name
2018-03-31 00:28:08 -07:00
Harry Zhang
782a092e2e
Use feature gate in integration
...
Clean up unused import
2018-03-31 00:28:08 -07:00
Satyadeep Musuvathy
68e18a6a36
Refactor common parts of scheduler_perf into reusable utils
2018-02-27 13:30:18 -08:00