kubernetes/pkg/registry/batch
Kevin Hannon 37629e3c21
batch/job: Fix scheduling directives mutation for not-yet-started suspended Jobs
When MutableSchedulingDirectivesForSuspendedJobs feature gate is
enabled, it overwrites the notStarted check with a stricter condition
requiring the JobSuspended=True condition. This rejects mutations on
suspended Jobs that have never started but whose JobSuspended condition
has not yet been set by the job controller, breaking external
controllers like MultiKueue that inject scheduling directives
immediately after creating a suspended Job.

Preserve the notStarted path as an OR condition alongside the
JobSuspended condition check, restoring pre-1.36 behavior for
not-yet-started Jobs while maintaining the new relaxation for
previously-started Jobs.

Kubernetes-issue: https://github.com/kubernetes/kubernetes/issues/139281
2026-05-27 09:38:44 -04:00
..
cronjob test/declarative_validation: migrate DV equivalence tests to new tree 2026-05-09 19:11:01 +00:00
job batch/job: Fix scheduling directives mutation for not-yet-started suspended Jobs 2026-05-27 09:38:44 -04:00
rest Remove ability to re-enable serving deprecated batchapiv1beta1 APIs 2023-04-28 14:08:31 +08:00
OWNERS Update OWNERS to sig-apps owned registry packages (batch & policy) 2025-10-28 11:36:45 +01:00