Wei Huang
3b64c1b01d
sched: de-duplicate plugin registration logic by using FactoryAdapter
2021-09-20 10:12:34 -07:00
Wei Huang
a55af2d35a
cleanup duplicated import of "k8s.io/apimachinery/pkg/runtime"
2021-09-17 14:13:15 -07:00
Yecheng Fu
82b50dcb7b
scheduler/volumebinding: migrate to use pkg/scheduler/framework/plugins/feature
2021-09-11 10:17:28 +08:00
boenn
369c4a2b98
Use cmp.Diff() replace reflect and diagnosis
2021-07-08 15:13:11 +08:00
Jerry-Ge
570365178a
merge packages of scheduler/core and scheduler
...
Signed-off-by: Jerry Ge <jerry.ge@arm.com>
2021-07-05 14:21:32 +08:00
hurf
6203ce9f85
Move pkg/scheduler to plugin/pkg/scheduler
...
As the TODO in plugin/pkg/scheduler/scheduler.go described:
move everything from pkg/scheduler into this package. Remove
references from registry.
2015-05-13 14:03:25 +08:00
Shawn Smith
02d136173a
Fix unused fmt.Errorf result
2015-05-10 13:17:00 +09:00
Eric Paris
6b3a6e6b98
Make copyright ownership statement generic
...
Instead of saying "Google Inc." (which is not always correct) say "The
Kubernetes Authors", which is generic.
2015-05-01 17:49:56 -04:00
Kris Rousey
81497f3ed2
Changing the scheduler package to use *api.Pod instead of api.Pod to
...
avoid unnecessary shallow copies. The change rippled through a lot of
code.
2015-04-17 13:34:31 -07:00
Kris Rousey
6904c4d585
Fixing a lot of string formatting issues with regards to:
...
* Improper format specifier (e.g. %s for bools or %s for ints)
* More or less parameters than format specifiers
* Not calling a formatting function when it should have (e.g. Error() instead of Errorf())
2015-03-31 16:47:10 -07:00
Brendan Burns
33f6576f61
Log a better error with useful info on scheduling failures.
2015-02-23 20:36:22 -08:00
Clayton Coleman
19379b5a38
Internal rename api.Minion -> api.Node
2014-12-10 12:08:18 -05:00
Abhishek Gupta
13831856c9
Combining scheduler priority functions using weighted averages
2014-12-08 14:47:05 -08:00
Abhishek Gupta
1eb28b0aa3
Scheduler changes to allow multiple priority functions
2014-12-08 14:47:05 -08:00
Claire Li
4bee622865
Add check for empty priority list and refactor tests.
2014-11-06 21:38:41 -08:00
Claire Li
18fa043b1b
Add a test for selectHost of generic_scheduler
2014-11-05 21:48:42 -08:00
Clayton Coleman
644eb70085
Refactor tests to split ObjectMeta from TypeMeta
2014-10-24 11:22:21 -04:00
Clayton Coleman
bb77a5d15f
Rename ID -> Name
2014-10-22 15:00:26 -04:00
Brendan Burns
4230a8ca61
Add a least-requested priority function
2014-10-08 15:31:38 -07:00
Clayton Coleman
d3e51a0f24
Rename JSONBase -> TypeMeta in preparation for v1beta3
...
Will make subsequent refactor much easier
2014-10-07 11:12:16 -04:00
Brendan Burns
1bb962961c
Refactor schedulers, remove schedulers, use generic scheduler.
2014-09-26 10:26:25 -07:00
Brendan Burns
44703efe2e
Simplify schedulers.
2014-09-25 11:36:22 -07:00
Brendan Burns
0cf8f28112
Refactor the code to make it more readable.
2014-09-25 10:49:36 -07:00
Brendan Burns
9ed8486fd7
Add a generic scheduler.
2014-09-24 15:38:52 -07:00