Mike Danese
3aa59f7f30
generated: run refactor
2020-02-07 18:16:47 -08:00
Aldo Culquicondor
60c972098c
Add defaults to pod affinity args
...
And remove pod affinity parameter from algorithm provider registry
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-02-03 14:58:28 -05:00
Aldo Culquicondor
4a5ab84dcc
Move default binding to a plugin
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-01-22 14:13:33 -05:00
zouyee
d6b449b5c7
Move scheduler's SchedulerExtender interface to core/extenders.go
...
Signed-off-by: Zou Nengren <zouyee1989@gmail.com>
2020-01-21 20:20:20 +08:00
Aldo Culquicondor
eb265bc7db
Remove GetBinder member and replace it with a method.
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-01-20 14:10:02 -05:00
Aldo Culquicondor
f53d7e55df
Move Snapshot from nodeinfo/snapshot to internal/cache
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-01-17 13:29:41 -05:00
Wei Huang
c712230ac1
Implement default queue sort logic as a scheduler plugin
2020-01-16 19:10:43 -08:00
yuzhiquan
0e81e39465
cleanup(scheduler): remove unused function, remove duplicate comment, implement interface
...
update bazel
2020-01-16 09:07:09 +08:00
Abdullah Gharaibeh
fb66e807cd
Remove scheduler framework dependency on predicates package
2020-01-13 13:02:31 -05:00
draveness
2c3c6721ce
refactor(scheduling): remove priorities package
2020-01-10 09:05:39 +08:00
Kubernetes Prow Robot
adb8b08e91
Merge pull request #86905 from draveness/feature/disable-scheduling-plugin
...
feat(scheduling): address disabled plugins in scheduling framework
2020-01-09 16:10:47 -08:00
draveness
50deec25bc
feat(scheduling): address disabled plugins in scheduling framework
...
+ Custom plugins run after the default plugins.
+ Disable default plugins and re-enable them in the configuration could update
the execution order.
+ Use `*` to disable all the default plugins of specific extension points.
2020-01-09 23:59:59 +08:00
skilxn-go
5def91d778
Add VolumeBinder to FrameworkHandle interface
2020-01-09 10:29:35 +08:00
Wei Huang
64d7b224d9
Cleanup unused parameter of NewGenericScheduler
2020-01-03 11:42:39 -08:00
Abdullah Gharaibeh
b535ed3b0c
Merge scheduler's ConfigProducerRegistry into LegacyRegistry
2020-01-02 16:40:33 -05:00
Abdullah Gharaibeh
a6b7b0d95e
Define algorithm providers in terms of plugins.
2019-12-31 15:28:09 -05:00
Abdullah Gharaibeh
2b3df3587e
Deprecate scheduler predicate and priority factory registration
2019-12-25 20:33:08 -05:00
Abdullah Gharaibeh
eeb8a5b728
Added back the flag to trigger examining all Filters in the scheduler.
2019-12-21 05:17:23 -05:00
Wei Huang
1f78a936d4
Deprecate AlwaysCheckAllPredicates in scheduler Policy API
2019-12-20 11:41:33 -08:00
Abdullah Gharaibeh
119a9a94d1
InterPodAffinity Priority as Score plugin
2019-12-19 13:42:49 -05:00
Abdullah Gharaibeh
770e51cd10
Deprecate PredicateMetadata
2019-12-17 08:02:59 -05:00
Abdullah Gharaibeh
02a0aad6d3
podfitsresource metadata as prefilter
2019-12-14 00:51:25 -05:00
Mike Dame
255ab6d2c3
Remove priority execution paths in favor of score plugins
...
Mainly affects core/generic_scheduler.go (and related tests). Removes the "prioritizers" field and related functions.
2019-12-12 19:30:44 -05:00
Abdullah Gharaibeh
f388534082
make scheduling queue start before the scheduler starts and stops after the scheduler stops
2019-12-02 14:35:09 -05:00
Abdullah Gharaibeh
7360797a12
remove redundant definition of the defaultProvider in the scheduler
2019-11-27 14:49:57 -05:00
Abdullah Gharaibeh
05606bb6e4
rename PluginConfigArgs to AlgorithmConfigArgs
2019-11-14 11:30:59 -05:00
Abdullah Gharaibeh
acc66ede1a
Pass InformerFactory instead of indivisual informers in scheduler configuration logic
2019-11-12 19:38:27 -05:00
Kubernetes Prow Robot
c580a12c8e
Merge pull request #83568 from bertinatto/volume_limits_ga
...
Promote volume limits to GA
2019-11-12 11:50:22 -08:00
Kubernetes Prow Robot
ed4d515f0e
Merge pull request #85049 from ahmad-diaa/make-configurator-create-return-sched
...
Change Configurator.Create to Return a Scheduler
2019-11-12 09:06:36 -08:00
Fabio Bertinatto
a59abc3cc3
Convert scheduler to use CSINode GA
2019-11-12 09:43:54 +01:00
Kubernetes Prow Robot
01e014c7d6
Merge pull request #85012 from alculquicondor/feat/predicate_factory
...
Add MetadataProducerFactory for predicates
2019-11-11 14:46:36 -08:00
Kubernetes Prow Robot
bff9a7774c
Merge pull request #84639 from SataQiu/clean-scheduler-20191101
...
scheduler: improve some comments and validation messages
2019-11-11 12:56:04 -08:00
Ahmad Diaa
7156d4532e
remove factory.Config struct and NewFromConfig
2019-11-11 19:27:53 +01:00
Ahmad Diaa
7b8e5fb4f5
make Configurator.Create return a Scheduler
2019-11-11 19:27:53 +01:00
Aldo Culquicondor
6a98c93f3c
Add MetadataProducerFactory for predicates
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2019-11-11 11:27:44 -05:00
Kubernetes Prow Robot
916776c394
Merge pull request #84873 from ahg-g/ahg-equal
...
delete EqualPriority priority function, and make registering it a no op
2019-11-07 04:36:58 -08:00
Abdullah Gharaibeh
f3453a1842
delete EqualPriority priority function, and make registering it a no op
2019-11-06 13:59:32 -05:00
Abdullah Gharaibeh
6b4bd87ba3
Remove Framework dependency on nodeinfo snapshot
2019-11-06 08:37:57 -05:00
Wei Huang
c649666b4a
manual API changes and code refactoring
...
- add Policy API to pkg/scheduler/apis/config and staging/src/k8s.io/kube-scheduler/config/v1
- dual-register Policy as apiGroup "v1" and "kubescheduler.config.k8s.io
- move/merge pkg/scheduler/api to pkg/scheduler/apis/config/...
- alias schedulerapi to pkg/scheduler/apis/config
- alias legacyapi to pkg/scheduler/api
- eliminate latest.Codec; use scheme.Codecs instead
- unit tests to verify Policy YAML with version "v1" or "kubescheduler.config.k8s.io/v1" can be loaded properly
- update api/api-rules/violation_exceptions.list
2019-11-01 14:24:36 -07:00
SataQiu
89c3673a53
scheduler: improve some comments and validation messages
2019-11-01 18:30:54 +08:00
Shintaro Murakami
4b72af9f00
RequestedToCapacityRatio as score plugin
2019-10-30 22:00:20 +09:00
Cong Liu
571cea0519
Convert NodeLabelPresence custom predicate to filter plugin.
2019-10-25 19:31:17 -04:00
Abdullah Gharaibeh
8ec56aeafb
Change all scheduler's Node and Pod list/lookups to be from the snapshot rather than the cache.
2019-10-25 14:24:55 -04:00
Kubernetes Prow Robot
09a251ce92
Merge pull request #84274 from liggitt/beta-gate-pdb-informers
...
Feature-gate PDB informer starts
2019-10-24 11:56:34 -07:00
Kubernetes Prow Robot
b0c0155c19
Merge pull request #84192 from zouyee/removewrapper
...
Remove wrappers around storage-related listers in the predicate
2019-10-24 11:56:10 -07:00
zouyee
3bfdcf56e6
Remove wrappers around storage-related listers in the predicate
...
Signed-off-by: Zou Nengren <zouyee1989@gmail.com>
2019-10-24 23:26:15 +08:00
Jordan Liggitt
feac7a40f5
Feature-gate PDB informer starts
2019-10-24 01:17:39 -04:00
draveness
76a42fb29b
feat: remove WaitForCacheSync from scheduler factory
2019-10-24 10:19:35 +08:00
Abdullah Gharaibeh
d393804237
separate listers into their own package
2019-10-22 18:11:02 -04:00
Abdullah Gharaibeh
a772722660
Remove CSINode from scheduler cache.
2019-10-19 03:52:22 +00:00