kubernetes/test/integration/scheduler
Kensei Nakada c7e7eee554
feature(scheduling_queue): track events per Pods (#118438)
* feature(sscheduling_queue): track events per Pods

* fix typos

* record events in one slice and make each in-flight Pod to refer it

* fix: use Pop() in test before AddUnschedulableIfNotPresent to register in-flight Pods

* eliminate MakeNextPodFuncs

* call Done inside the scheduling queue

* fix comment

* implement done() not to require lock in it

* fix UTs

* improve the receivedEvents implementation based on suggestions

* call DonePod when we don't call AddUnschedulableIfNotPresent

* fix UT

* use queuehint to filter out events for in-flight Pods

* fix based on suggestion from aldo

* fix based on suggestion from Wei

* rename lastEventBefore → previousEvent

* fix based on suggestion

* address comments from aldo

* fix based on the suggestion from Abdullah

* gate in-flight Pods logic by the SchedulingQueueHints feature gate
2023-07-17 15:53:07 -07:00
..
bind Fix strict linting 2023-05-04 10:25:10 +08:00
extender Teardown only scheduler in integration tests 2023-05-04 10:09:24 +08:00
filters Fix strict linting 2023-05-04 10:25:10 +08:00
plugins Direct reference to the packages 2023-07-08 12:03:46 +08:00
preemption feature(scheduling_queue): track events per Pods (#118438) 2023-07-17 15:53:07 -07:00
scoring fix the integration test 2023-06-11 04:47:18 +00:00
taint Fix strict linting 2023-05-04 10:25:10 +08:00
main_test.go use testmain in integration tests 2017-07-12 17:34:55 -07:00
OWNERS Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
queue_test.go Direct reference to the packages 2023-07-08 12:03:46 +08:00
rescheduling_test.go change the QueueingHintFn to pass a logger 2023-07-13 00:56:41 +08:00
scheduler_test.go Direct reference to the packages 2023-07-08 12:03:46 +08:00
util.go Direct reference to the packages 2023-07-08 12:03:46 +08:00