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
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
Ania Borowiec
4205f04ce3
Replace uses of reflect.DeepEqual with cmp.Diff in pkg/scheduler tests
2025-02-26 09:27:51 +00:00
zhifei92
27608fa25d
refactor(scheduler): Rename UpdatePodTolerations for code style consistency.
2024-11-29 13:13:09 +08:00
Kubernetes Prow Robot
04bba3c222
Merge pull request #127427 from sanposhiho/bug-nodeunsched
...
bug(nodeunschedulable): register missing Pod event for NodeUnschedulable plugin
2024-09-19 20:23:37 +01:00
googs1025
86aee8cbc7
feature(scheduler): more fine-grained QHints for nodeunschedulable plugin
2024-09-19 10:05:06 +08:00
Kensei Nakada
495981974e
bug(nodeunschedulable): register missing Pod event for NodeUnschedulable plugin
2024-09-18 17:49:12 +09: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
carlory
d36a7089cd
scheduler/NodeUnschedulable: reduce pod scheduling latency
...
Co-authored-by: wackxu <xushiwei5@huawei.com >
Co-authored-by: Kensei Nakada <handbomusic@gmail.com >
2023-12-16 20:50:11 +08:00
Kensei Nakada
7aeecc42a4
Revert "scheduler/NodeUnschedulable: reduce pod scheduling latency"
...
This reverts commit 28dbe8a34d .
2023-12-13 03:18:02 +00:00
Kensei Nakada
cb5dc46edf
feature(scheduler): simplify QueueingHint by introducing new statuses
2023-10-19 11:02:11 +00:00
Kubernetes Prow Robot
3ac83f528d
Merge pull request #119290 from carlory/add-logger
...
the scheduling queue logs the error and treats it as QueueAfterBackoff
2023-09-22 08:10:49 -07:00
carlory
0105a002bc
when the hint fn returns error, the scheduling queue logs the error and treats it as QueueAfterBackoff.
...
Co-authored-by: Kensei Nakada <handbomusic@gmail.com >
Co-authored-by: Kante Yin <kerthcet@gmail.com >
Co-authored-by: XsWack <xushiwei5@huawei.com >
2023-09-21 09:40:44 +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
wackxu
28dbe8a34d
scheduler/NodeUnschedulable: reduce pod scheduling latency
...
Signed-off-by: wackxu <xushiwei5@huawei.com >
2023-09-14 10:23:43 +08:00
wackxu
a9d26ac7c7
Optimize the code of NodeUnschedulable to reduce TolerationsTolerateTaint function calls
...
Signed-off-by: wackxu <xushiwei5@huawei.com >
2023-07-18 21:00:05 +08:00
Kensei Nakada
6f8d38406a
feature(scheduler): implement ClusterEventWithHint to filter out useless events
2023-06-22 13:36:19 +00:00
dingzhu lurong
ed26fcf5b8
cleanup useless null pointer check about nodeInfo.Node() from snapshot for in-tree plugins
2023-05-20 22:53:43 +08:00
kerthcet
b27ceebc93
Remove out-of-date comments
...
Signed-off-by: kerthcet <kerthcet@gmail.com >
2022-08-16 14:05:11 +08:00
SataQiu
97d9d2bd17
scheduler: remove useless null pointer check about nodeInfo for in-tree plugins
2022-07-15 00:09:42 +08: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
Jerry.Ge
31b79f481e
added eventsToRegister for nodeName & nodeUnschedulable plugins
...
Signed-off-by: Jerry Ge <jerry.ge@arm.com >
2021-03-18 04:22:51 -04:00
Benjamin Elder
56e092e382
hack/update-bazel.sh
2021-02-28 15:17:29 -08:00
Mike Dame
578ff3ec34
Move Taint/Toleration helpers to component-helpers repo
...
This is part of the goal for scheduling to remove dependencies on internal
packages for the scheduling framework. It also provides these functions in an
external location for other components and projects to import.
2021-02-01 11:06:03 -05:00
Ali
09b2e8f638
Move scheduler interface to pkg/scheduler/framework
2020-10-13 13:13:27 +11:00
houmin
868dd41a96
Fix an error in NodeUnschedulable plugin comment
2020-08-10 11:20:23 +08: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
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
Haosdent Huang
864600f05f
Break nodeunschedulable Filter plugins dependency on predicates package
2020-01-09 14:54:28 +08:00
zouyee
89867e1c21
Move CheckNodeUnschedulable predicate to its filter plugin
...
Signed-off-by: Zou Nengren <zouyee1989@gmail.com >
2019-12-26 21:38:27 +08:00
Wei Huang
019d7497a5
bazel files
2019-11-05 20:57:21 -08:00
Wei Huang
dd74205bcf
Move out const strings in pkg/scheduler/api/well_known_labels.go
2019-11-05 20:56:21 -08:00
draveness
00a12c787c
feat: implement node unschedulable as a filter plugin
2019-10-19 17:29:25 +08:00