dom4ha
9bf6ee976b
Assert whethere there are no pod in active queue while waiting for all pods to get scheduled instead of asserting it afterwards.
2024-09-27 15:06:04 +00:00
dom4ha
54b0ed45b7
Add one more check to the test case precondition assessment.
2024-09-27 15:06:04 +00:00
dom4ha
151ac846a2
Increase the readability of the test preconditions and double check that all test pods are really unschedulable.
2024-09-27 15:06:04 +00:00
Kubernetes Prow Robot
960e3984b0
Merge pull request #127444 from dom4ha/fine-grained-qhints
...
Fine grain QueueHints for NodeAffinity plugin
2024-09-27 01:42:00 +01:00
dom4ha
c7db4bb450
Fine grain QueueHints for nodeaffinity plugin.
...
Skip queue on unrelated change that keeps pod schedulable when QueueHints are enabled.
Split add from QHints disabled case
Remove case when QHints are disabled
Remove two GHint alternatives in unit tests
more fine-grained Node QHint for NodeResourceFit plugin
Return early when updated Node causes unmatch
Revert "more fine-grained Node QHint for NodeResourceFit plugin"
This reverts commit dfbceb60e0c1c4e47748c12722d9ed6dba1a8366.
Add integration test for requeue of a pod previously rejected by NodeAffinity plugin when a suitable Node is added
Add integratin test for a Node update operation that does not trigger requeue in NodeAffinity plugin
Remove innacurrate comment
Apply review comments
2024-09-26 10:21:08 +00:00
dom4ha
903b1f7e28
more fine-grained Node QHint for NodeResourceFit plugin
2024-09-26 09:51:36 +00:00
Kensei Nakada
421f87a4e3
feat: add a requeueing integration test for PodTopologySpread with Node/delete event (QHint: disabled)
2024-09-23 00:29:56 +09:00
Kensei Nakada
bf8f7a3ad7
feat: add a requeueing integration test for PodTopologySpread with Node/delete event
2024-09-22 17:34:37 +09:00
Kubernetes Prow Robot
f0415a65b4
Merge pull request #127406 from toshikish/add-integration-test-for-nodeunschedulable
...
Add integration test for NodeUnschedulable in requeueing scenarios
2024-09-19 09:02:51 +01:00
Kubernetes Prow Robot
41b7ca240e
Merge pull request #127354 from unvavo/add-test-noderesourcesfit-for-queueinghint
...
Add integration test for NodeResourcesFit in requeueing scenarios
2024-09-19 09:02:45 +01:00
toshikish
aeafb4d149
Add integration test for NodeUnschedulable in requeueing scenarios
2024-09-19 14:54:32 +09:00
yusuke.sakurai
b8bd6ebcce
add integration test for podtopologyspread in requeueing scenarios
2024-09-19 12:27:31 +09:00
unvavo
cf3aa04ed1
add integration test for noderesourcesfit in requeueing scenarios
2024-09-19 00:01:23 +09:00
Kensei Nakada
24a14aa810
fix: run a test for requeueing with PreFilterResult correctly
2024-09-07 23:52:45 +09:00
yusuke.sakurai
27a8ef8c52
add integration test for nodeports in requeueing scenarios
2024-09-06 13:07:54 +09:00
Kubernetes Prow Robot
e6f7b35cc4
Merge pull request #127139 from tozastation/add-test-nodeaffinity-for-queueinghint
...
add: integration test for NodeAffinity plugin in requeueing scenarios
2024-09-05 16:04:45 +01:00
tozastation
0c9828e7f0
add: integration test for NodeAffinity plugin
...
Signed-off-by: tozastation <tozastation@gmail.com >
2024-09-05 18:33:23 +09:00
nayihz
ffe6f0867a
add integration test for interpodaffinity in requeueing scenarios
2024-09-05 14:55:31 +08:00
Maciej Skoczeń
6b33e2e632
Use generics in scheduling queue's heap
2024-07-24 06:55:47 +00:00
googs1025
a3978e8315
scheduler: Add ctx param and error return to EnqueueExtensions.EventsToRegister()
2024-07-18 12:22:17 +08:00
Kensei Nakada
533140f065
take PodTopologySpread into consideration when requeueing Pods based on Pod related events
2024-07-06 13:17:14 +00:00
olderTaoist
b478621596
register unscheduable plugin when prefileter with NodeNames
2024-07-02 13:02:45 +08:00
AxeZhan
d66f8f9413
schedulingQueue update pod by queueHint
2024-06-12 21:26:09 +08:00
Gabe
558945958e
refactor integ test
2024-05-09 14:02:37 +00:00
Gabe
9a8ec13505
make linter happy
2024-04-30 12:06:26 +00:00
Gabe
4e99ada05f
Filter gated pods before calling isPodWorthRequeueing
2024-04-29 16:54:40 +00:00
Marek Siarkowicz
3ee8178768
Cleanup defer from SetFeatureGateDuringTest function call
2024-04-24 20:25:29 +02:00
nayihz
1b3d10aafa
fix: node added with matched pod anti-affinity topologyKey
...
Co-authored-by: Kensei Nakada <handbomusic@gmail.com >
2024-04-12 11:08:44 +08:00
Kensei Nakada
2b56de43e5
register Node/UpdateNodeTaint event to plugins which has Node/Add only, doesn't have Node/UpdateNodeTaint
2024-03-16 14:13:06 +00:00
Wei Huang
01db4ae9e7
Graduate PodSchedulingReadiness to stable
2024-02-28 23:18:44 -08:00
Kensei Nakada
3b8f25dfdd
fix: disable SchedulerQueueingHints feature flag by default
2023-12-13 04:16:43 +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
Kensei Nakada
87d49a51be
fix(queue_test): make sure the first bind failure via counter
2023-09-06 19:47:54 +00:00
kerthcet
e6dfdb240f
Output the error message for better analylsis
...
Signed-off-by: kerthcet <kerthcet@gmail.com >
2023-09-04 20:31:48 +08:00
SataQiu
ef7d404702
using wait.PollUntilContextTimeout instead of deprecated wait.Poll for pkg/scheduler
...
using wait.PollUntilContextTimeout instead of deprecated wait.Poll for test/integration/scheduler
using wait.PollUntilContextTimeout instead of deprecated wait.Poll for test/e2e/scheduling
using wait.ConditionWithContextFunc for PodScheduled/PodIsGettingEvicted/PodScheduledIn/PodUnschedulable/PodSchedulingError
2023-08-17 17:25:09 +08:00
Kensei Nakada
cf3f0bd778
fix: register the plugin rejects Pods in WaitOnPermit to UnschedulablePlugins
2023-08-12 07:18:01 +00:00
Kensei Nakada
050c0437e6
fix: broadcast when pod is pushed back to activeQ directly in AddUnschedulableIfNotPresent
2023-08-09 03:32:14 +00:00
kerthcet
47ef977ddd
Direct reference to the packages
...
Signed-off-by: kerthcet <kerthcet@gmail.com >
2023-07-08 12:03:46 +08:00
Kensei Nakada
6f8d38406a
feature(scheduler): implement ClusterEventWithHint to filter out useless events
2023-06-22 13:36:19 +00:00
Mengjiao Liu
074900e81b
scheduler: update the scheduler interface and cache methods to use contextual logging
2023-05-29 13:26:32 +08:00
Kante Yin
a7035f5459
Pass Context to StartTestServer
...
Signed-off-by: Kante Yin <kerthcet@gmail.com >
2023-05-04 10:25:09 +08:00
Kante Yin
2d866ec2fc
Teardown only scheduler in integration tests
...
Signed-off-by: Kante Yin <kerthcet@gmail.com >
2023-05-04 10:09:24 +08:00
Kante Yin
666605498a
Replace deprecated pointer function
...
Signed-off-by: Kante Yin <kerthcet@gmail.com >
2022-12-26 22:06:44 +08:00
kidddddddddddddddddddddd
6ca62eb2cb
refactor
2022-12-13 11:36:12 +08:00
Wei Huang
ae5d430c76
Integration tests for KEP Pod Scheduling Readiness
...
- test generic integration in plugins_test.go
- test integration with SchedulingGates plugin in queue_test.go
2022-11-08 10:06:44 -08:00
Wojciech Tyczyński
71d87272de
Clean shutdown of apply integration tests
2022-11-07 09:14:15 +01:00
kerthcet
f7f857814f
Refactor schedulingCycle and bindingCycle in scheduler
...
Signed-off-by: kerthcet <kerthcet@gmail.com >
2022-10-21 13:53:18 +08:00