Richa Banker
6944af22d1
Initialize scheduler metrics after metrics options are applied
2024-09-13 12:52:32 -07:00
dom4ha
e7827879db
Enable testing logger in the remaining scheduler tests.
2024-09-09 21:59:24 +00:00
Kubernetes Prow Robot
e90364f45d
Merge pull request #126465 from googs1025/podEligibleToPreemptOthers_refactor
...
feat: add ctx param for PodEligibleToPreemptOthers
2024-09-02 12:02:56 +01:00
Kensei Nakada
8519d3399f
chore: move the scheduler internal components out of internal dir
2024-08-25 13:10:29 +09:00
Maciej Skoczeń
33815db3c1
Move NominatedPodsForNode to scheduling queue directly
2024-08-21 07:24:52 +00:00
googs1025
fc0fcd0044
feat: add ctx param for PodEligibleToPreemptOthers
2024-08-14 20:06:05 +08:00
Kubernetes Prow Robot
ea1143efc7
Merge pull request #126022 from macsko/new_node_to_status_map_structure
...
Change structure of NodeToStatus map in scheduler
2024-08-13 21:02:55 -07:00
Maciej Skoczeń
98be7dfc5d
Change structure of NodeToStatus map in scheduler
2024-07-25 07:48:35 +00:00
Kubernetes Prow Robot
d879103c28
Merge pull request #125820 from macsko/add_separate_lock_for_pod_nominator_scheduling_queue
...
Add a separate lock for pod nominator in scheduling queue
2024-07-17 12:06:10 -07:00
Maciej Skoczeń
5def93b10a
Add a separate lock for pod nominator in scheduling queue
2024-07-17 07:58:59 +00:00
Kubernetes Prow Robot
31062790a1
Merge pull request #125855 from googs1025/refactor_scheduler_ut
...
chore: call close framework when finishing
2024-07-12 05:14:35 -07:00
googs1025
d4627f16a5
chore: call close framework when finishing
...
Signed-off-by: googs1025 <googs1025@gmail.com >
2024-07-12 18:11:04 +08:00
olderTaoist
b478621596
register unscheduable plugin when prefileter with NodeNames
2024-07-02 13:02:45 +08:00
Gabe
c8f0ea1a54
Don't fill in NodeToStatusMap with UnschedulableAndUnresolvable
2024-05-31 15:52:16 +00:00
lianghao208
34e620d18c
Support score extension function in preemption.
2023-11-15 15:28:20 +08:00
kerthcet
6fbb8ec7e4
Move scheduler testing utils to /scheduler/testing
...
Signed-off-by: kerthcet <kerthcet@gmail.com >
2023-09-12 13:42:38 +08:00
Mengjiao Liu
1c05cf1d51
kube-scheduler: NewFramework function to pass the context parameter
...
Co-authored-by: Aldo Culquicondor <1299064+alculquicondor@users.noreply.github.com >
2023-05-23 10:17:34 +08:00
Mengjiao Liu
fe728996ca
scheduler test: call frameworkruntime.WithLogger function for contextual logging
2023-05-11 15:46:08 +08:00
sarab
8d18ae6fc2
Use the generic Set in scheduler
2023-04-09 11:34:17 +05:30
kerthcet
97e3e50493
Remove potential goroutine leak in NewFramework
...
Signed-off-by: kerthcet <kerthcet@gmail.com >
2022-08-06 00:05:22 +08:00
Carlos Eduardo Arango Gutierrez
d2f67b42b7
Fix typos under pkg/scheduler
...
./scheduler/framework/plugins/noderesources/most_allocated_test.go:227: negtive ==> negative
./scheduler/framework/plugins/noderesources/most_allocated_test.go:228: negtive ==> negative
./scheduler/framework/plugins/volumebinding/binder.go:402: everytime ==> every time
./scheduler/framework/preemption/preemption_test.go:67: staus ==> status
./scheduler/framework/runtime/framework_test.go:1252: followings ==> following
./scheduler/internal/cache/cache_test.go:932: datas ==> data
./scheduler/internal/cache/node_tree_test.go:471: unknow ==> unknown
./scheduler/internal/queue/scheduling_queue_test.go:442: actived ==> activated
./scheduler/internal/queue/scheduling_queue_test.go:2209: covert ==> convert
Signed-off-by: Carlos Eduardo Arango Gutierrez <carangog@redhat.com >
2022-03-24 08:01:25 -04:00
Alex Wang
52275fc831
add preemption info in scheduling failed event
2022-02-01 00:37:16 +08:00
Kubernetes Prow Robot
8e8bf06f15
Merge pull request #105796 from sanposhiho/move/parallelizer-to-non-internal
...
Fix: move parallelize package to non-internal file
2021-10-28 15:31:00 -07:00
Kubernetes Prow Robot
87b0412232
Merge pull request #105727 from chendave/wrong_status
...
Fix the inaccurate status when a plugin internal status is found
2021-10-27 19:45:02 -07:00
Dave Chen
468a6005a6
Fix the return status when a plugin internal status is found
...
Currently, the status code returned is `Unschedulable` when an internal error
found, the `Unschedulable` status is built from a `FitError` which means no
fit nodes found without a internal error.
Instead of build an Unschedulable status from the `FitError`, return the
Error status directly.
Signed-off-by: Dave Chen <dave.chen@arm.com >
2021-10-28 09:43:31 +08:00
kerthcet
2c5b5533bf
remove scheduler NodeLabel plugin
...
Signed-off-by: kerthcet <kerthcet@gmail.com >
2021-10-27 10:07:35 +08:00
sanposhiho
9dc0489c1a
Fix: move parallelize package to non-internal file
2021-10-21 02:39:23 +09:00
Konstantin Misyutin
29bd66d018
Remove "pkg/controller/volume/scheduling" dependency from "pkg/scheduler/framework/plugins"
...
All dependencies of VolumeBinding plugin from
"k8s.io/kubernetes/pkg/controller/volume/scheduling" package moved to
"k8s.io/kubernetes/pkg/scheduler/framework/plugins/volumebinding" package:
- whole file pkg/controller/volume/scheduling/scheduler_assume_cache.go
- whole file pkg/controller/volume/scheduling/scheduler_assume_cache_test.go
- whole file pkg/controller/volume/scheduling/scheduler_binder.go
- whole file pkg/controller/volume/scheduling/scheduler_binder_fake.go
- whole file pkg/controller/volume/scheduling/scheduler_binder_test.go
Package "k8s.io/kubernetes/pkg/controller/volume/scheduling/metrics" moved
to "k8s.io/kubernetes/pkg/scheduler/framework/plugins/volumebinding/metrics"
because it only used in VolumeBinding plugin and (e2e) tests.
More described in issue #89930 and PR #102953 .
Signed-off-by: Konstantin Misyutin <konstantin.misyutin@huawei.com >
2021-08-13 19:08:45 +08:00
Dave Chen
3af26bae2c
Refactor defaultpreemption for out-of-tree plugins
...
Signed-off-by: Dave Chen <dave.chen@arm.com >
2021-08-11 09:29:17 +08:00