Yibo Zhuang
bc8f3198d5
cleanup: move scheduler plugin tests to use PodWrapper
...
Move scheduler plugin unit tests use testing PodWrapper
where applicable to reduce duplicating pod creation
code and shorten number of lines.
Signed-off-by: Yibo Zhuang <yibzhuang@gmail.com>
2022-05-05 10:48:55 -07:00
Abdullah Gharaibeh
6d499ee9ea
Correct event registration for multiple scheduler plugins.
2022-04-12 18:32:24 -04:00
Abdullah Gharaibeh
5b20b68bc9
Updated the scheduler framework's PreFilter interface to return a PreFilterResult
2022-03-14 15:36:52 -04:00
Abdullah Gharaibeh
46f3e4dfdd
Define in-tree scheduler plugin names in separate pkg to break a cyclic depednecy when moving plugin defaulting to CC
2021-06-09 15:36:09 -04:00
Zhang Zhanpeng
2678f26944
Implemented function EventsToRegister for NodePorts
...
Signed-off-by: Zhang Zhanpeng <zhanpeng.zhang@daocloud.io>
Added pod deletion event
Signed-off-by: Zhang Zhanpeng <zhanpeng.zhang@daocloud.io>
Deleted node condition update event & added service deletion
Signed-off-by: Zhang Zhanpeng <zhanpeng.zhang@daocloud.io>
Implemented function EventsToRegister for NodePorts
Signed-off-by: Zhang Zhanpeng <zhanpeng.zhang@daocloud.io>
Deleted service deletion
Signed-off-by: Zhang Zhanpeng <zhanpeng.zhang@daocloud.io>
Added a comment to explain why not registering pod update events
2021-03-17 14:42:13 +08:00
Benjamin Elder
56e092e382
hack/update-bazel.sh
2021-02-28 15:17:29 -08:00
drfish
0c3d8b9720
Organize framework unit tests in subtests
2021-01-31 13:34:52 +08:00
Kubernetes Prow Robot
6268e6f990
Merge pull request #95069 from farah/split-scheduler
...
Move scheduler interface to pkg/scheduler/framework
2020-10-13 14:23:54 -07:00
Ali
09b2e8f638
Move scheduler interface to pkg/scheduler/framework
2020-10-13 13:13:27 +11:00
SataQiu
a0efc33158
wrap errors from NodeLabel, NodePorts, NodePreferAvoidPods and NodeResourcesBalancedAllocation plugins
2020-10-10 11:00:40 +08:00
Dave Chen
9ebd872e71
Explicitly declare the interfaces for extension points
...
This make it easier to catch the issue during the compilation, also,
this also align with other plugins, i.e. plugin of "InterPodAffinity".
Signed-off-by: Dave Chen <dave.chen@arm.com>
2020-06-17 15:11:44 +08:00
Kubernetes Prow Robot
b35fdbc037
Merge pull request #89904 from alculquicondor/raw-extension-plugin-args
...
Use RawExtension and Object for external and internal, respectively, scheduling plugin args
2020-04-15 15:22:59 -07:00
Aldo Culquicondor
ce05382b58
Use RawExtension and Object for external and internal scheduling plugin args, respectively
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-04-14 13:44:42 -04:00
Abdullah Gharaibeh
2c51c13620
Scheduler NodeInfo cleanup
2020-04-09 19:03:51 -04:00
Abdullah Gharaibeh
a5d8172715
move nodeinfo type to framework pkg
2020-04-07 10:25:24 -04:00
Abdullah Gharaibeh
ed3fe054df
move scheduler nodeinfo to pkg/scheduler/types
2020-03-31 21:02:09 -04:00
notpad
fb895056c6
Add test
2020-02-11 16:51:21 +08:00
notpad
a7057f8df0
Cleanup "slow-path" logic in scheduler Filters
2020-02-10 22:48:49 +08:00
Abdullah Gharaibeh
fb66e807cd
Remove scheduler framework dependency on predicates package
2020-01-13 13:02:31 -05:00
notpad
228891de9c
Fix comment
2020-01-09 20:06:56 +08:00
Jacek Kaniuk
8fae8e54af
Disable excessive logging in scheduler plugins
2019-12-16 15:14:39 +01:00
Abdullah Gharaibeh
c54dbd85e0
wrap host ports metadata in a prefilter.
2019-12-13 09:16:25 -05:00
draveness
39af760930
feat: several cleanups in the scheduling package
...
+ Remove unused variable in tests.
+ Use more common statement for interface conformance check.
+ Fix several comments in the framework plugins.
2019-10-18 11:14:05 +08: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
Guoliang Wang
78be6a628d
[migration phase 1] PodFitsHostPorts as filter plugin
2019-10-13 19:47:26 +08:00