kubernetes/pkg/scheduler/framework/api_calls
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
..
api_calls.go Move interfaces: Handle and Plugin and related types from kubernetes/kubernetes to staging repo kube-scheduler 2025-09-02 09:42:53 +00:00
pod_binding.go Add retrying for Bind API calls. With podGroup scheduling we do not want transient connection interruption to stop binding of whole group of pods 2026-05-07 16:03:05 +00:00
pod_binding_test.go
pod_status_patch.go scheduler: Add resourceVersion to Pod status patch 2026-06-09 13:43:40 -05:00
pod_status_patch_test.go Address review comments for multi-condition PodStatusPatch support 2026-05-06 10:48:37 +08:00