Commit graph

11 commits

Author SHA1 Message Date
kubernetes-prow[bot]
5f2bdc6de2
Merge pull request #140054 from googs1025/flake_scheduler
flake(scheduler): reactivate preemptor after in-memory preemption
2026-07-06 13:32:28 +00:00
CYJiang
a25b882b87 scheduler: address preemption review comments 2026-07-03 21:33:36 +08:00
CYJiang
8d5731c016 scheduler: return in-memory preemption result 2026-07-03 10:53:21 +08:00
CYJiang
de33b42391 scheduler: reactivate preemptor after in-memory preemption 2026-07-02 08:02:56 +08:00
Jon Huhn
8f8e42a64e scheduler: Add resourceVersion to Pod status patch
When a Pod fails to asynchronously bind, a race occurs between the patch
to add the `PodScheduled=False` condition and a subsequent binding
attempt. If binding succeeds and adds `PodScheduled=True` before the
`PodScheduled=False` condition is set, then the last update persists
where the Pod is scheduled with a `spec.nodeName` but still has the
`PodScheduled=False` condition.

This change adds the `metadata.resourceVersion` of the Pod to patches so
these conflicts can be detected and handled appropriately.
2026-06-09 13:43:40 -05:00
dom4ha
43ebd00b66 Migrate internal references from v1alpha2 to v1alpha3 in scheduler and admission plugins 2026-05-22 12:50:19 +00:00
Antoni Zawodny
ccaaf9d3a5 Marry WAP logic with the new API fields 2026-03-24 09:36:00 +01:00
Maciej Wyrzuc
1f15743e49 Add pod group preemption 2026-03-23 16:22:32 +00:00
Nour
aa5e5ea9d6
scheduler: use contextual logging for event emission
Signed-off-by: Nour <nurmn3m@gmail.com>
2026-03-19 14:33:09 +02:00
Maciej Wyrzuc
4a326b0196 Preempt pods in prebind phase without delete calls.
This change allows the preemption to preempt a pod that is not yet
bound, but is already in prebind phase) without issuing a delete call to the
apiserver.

Pods are added to a special map of pods currently in prebind phaseand
preemption can cancel the context that is used for given pod prebind phase ,
allowing it to gracefully handle error in the same manner as errors
coming out from prebind plugins. This results in pods being pushed to
backoff queue, allowing them to be rescheduled in upcoming scheduling
cycles.
2026-02-18 09:00:23 +00:00
Antoni Zawodny
1eee34760d Decouple evaluation and execution in the preemption framework 2026-02-03 14:30:23 +01:00