KEP-3939keps/sig-apps/3939-allow-replacement-when-fully-terminated
Allow Replacement of Pods in a Job when fully terminating
Currently, Jobs start replacement Pods as soon as previously created Pods are terminating (have a deletionTimestamp) or fail (phase=Failed). Terminating pods are currently counted as failed in the Job status. However, terminating pods are actually in a transitory state where they are neither active nor really fully terminated. This KEP proposes a new field f… Full summary
Currently, Jobs start replacement Pods as soon as previously created Pods are terminating (have a deletionTimestamp) or fail (phase=Failed). Terminating pods are currently counted as failed in the Job status. However, terminating pods are actually in a transitory state where they are neither active nor really fully terminated. This KEP proposes a new field for the Job API that allows for users to specify if they want replacement Pods as soon as the previous Pods are terminating (existing behavior) or only once the existing pods are fully terminated (new behavior).
Facts
- Reviewers
- @mimowo
- Tracking issue
- #3939(opens GitHub in a new tab) closedcompletedclosed 2025-10-07 08:58 UTCmilestone v1.34sig/appsstage/stable
- Milestones
- alpha v1.28beta v1.29stable v1.34
- Participating SIGs
- none
- Feature gates
- JobPodReplacementPolicy
- Created / last updated
- 2023-04-03 / none