Ania Borowiec
fadb40199f
Move interfaces: Handle and Plugin and related types from kubernetes/kubernetes to staging repo kube-scheduler
2025-09-02 09:42:53 +00:00
Ania Borowiec
b012e16b47
Remove use of pkg/scheduler/framework.NodeInfo in node_ports.go
2025-08-27 13:30:45 +00:00
Ania Borowiec
aecd37e6fb
Moving Scheduler interfaces to staging: Move PodInfo and NodeInfo interfaces (together with related types) to staging repo, leaving internal implementation in kubernetes/kubernetes/pkg/scheduler
2025-07-24 12:10:58 +00:00
Ania Borowiec
ee8c265d35
Move Code and Status from pkg/scheduler/framework to k8s.io/kube-scheduler/framework
2025-06-30 10:06:22 +00:00
Ania Borowiec
00d3750503
Move ClusterEvent type to staging repo, leaving some functions (that contain logic internal to scheduler) in kubernetes/kubernetes ( #132190 )
...
* Move ClusterEvent type to staging repo, leaving some functions (that contain logic internal to scheduler) in kubernetes/kubernetes
apply review comment and fix linter warning
* update-vendor.sh
* update doc comments
* run update-vendor.sh
2025-06-26 08:06:29 -07:00
Avritt Rohwer
087554448c
Make nodeports scheduling plugin sidecar initContainer aware
2025-06-06 02:26:05 +00:00
Ania Borowiec
d75af825fb
Extract interface CycleState and move is to staging repo. CycleState implementation remains in k/k/pkg/scheduler/framework
2025-05-29 16:18:36 +00:00
Kubernetes Prow Robot
8a6b916765
Merge pull request #130720 from saintube/scheduler-expose-nodeinfo-in-prefilter
...
Expose NodeInfo to PreFilter plugins
2025-04-23 13:31:29 -07:00
saintube
8dc6806d26
Expose NodeInfo to PreFilter plugins and Framework
...
Co-authored-by: Zhan Sheng <49895476+AxeZhan@users.noreply.github.com >
Co-authored-by: shenxin <rougang.hrg@alibaba-inc.com >
Signed-off-by: saintube <saintube@foxmail.com >
2025-03-21 14:55:25 +08:00
dom4ha
4deb4f2b5f
Trigger rescheduling on delete event also when unscheduled pod is removed
2025-03-10 15:03:50 +00:00
Ania Borowiec
4205f04ce3
Replace uses of reflect.DeepEqual with cmp.Diff in pkg/scheduler tests
2025-02-26 09:27:51 +00:00
googs1025
69831b0043
chore(scheduler): refactor import package ordering
2024-09-18 20:31:03 +08:00
Kensei Nakada
fe3ab649d0
feat: remove node general update event from EventsToRegister when QHint is enabled
2024-09-14 16:15:40 +09:00
googs1025
a3978e8315
scheduler: Add ctx param and error return to EnqueueExtensions.EventsToRegister()
2024-07-18 12:22:17 +08:00
杨军10092085
ba76a624f9
Optimize klog output
2024-03-26 18:53:29 +08:00
Kensei Nakada
cb5dc46edf
feature(scheduler): simplify QueueingHint by introducing new statuses
2023-10-19 11:02:11 +00:00
carlory
7cba35f651
nodeports: scheduler queueing hints
...
Co-authored-by: Kensei Nakada <handbomusic@gmail.com >
Co-authored-by: Aldo Culquicondor <1299064+alculquicondor@users.noreply.github.com >
2023-10-08 11:34:43 +08:00
Mengjiao Liu
a7466f44e0
Change the scheduler plugins PluginFactory function to use context parameter to pass logger
...
- Migrated pkg/scheduler/framework/plugins/nodevolumelimits to use contextual logging
- Fix golangci-lint validation failed
- Check for plugins creation err
2023-09-20 17:49:54 +08:00
Kubernetes Prow Robot
0ae9aaacfa
Merge pull request #118271 from tangwz/add_nodeports_prefilter_skip_status
...
feat(NodePorts): return Skip status in PreFilter
2023-07-09 20:49:04 -07:00
tangwz
1bf2f6c9c0
feat(NodePorts): return Skip status in PreFilter
2023-07-06 08:42:08 +08:00
Kensei Nakada
6f8d38406a
feature(scheduler): implement ClusterEventWithHint to filter out useless events
2023-06-22 13:36:19 +00:00
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