@@ -8,8 +8,8 @@ author: >
8
8
[Dejan Zele Pejchev](https://github.com/dejanzele) (G-Research)
9
9
---
10
10
11
- In Kubernetes v1.34, the _ Pod Replacement Policy _ feature reaches general availability (GA).
12
- This blog post describes the Pod Replacement Policy feature and how to use it in your Jobs.
11
+ In Kubernetes v1.34, the _ Pod replacement policy _ feature has reached general availability (GA).
12
+ This blog post describes the Pod replacement policy feature and how to use it in your Jobs.
13
13
14
14
## About Pod Replacement Policy
15
15
@@ -32,11 +32,12 @@ Additionally, starting replacement Pods before the old ones fully terminate can
32
32
- Unnecessary cluster scale-ups to accommodate the replacement Pods.
33
33
- Temporary bypassing of quota checks by workload orchestrators like [ Kueue] ( https://kueue.sigs.k8s.io/ ) .
34
34
35
- The _ Pod Replacement Policy_ feature gives you control over when Kubernetes replaces terminating Pods, helping you avoid these issues.
35
+ With Pod replacement policy, Kubernetes gives you control over when the control plane
36
+ replaces terminating Pods, helping you avoid these issues.
36
37
37
38
## How Pod Replacement Policy works
38
39
39
- The feature introduces a new Job-level field, ` podReplacementPolicy ` , which controls when Kubernetes replaces terminating Pods .
40
+ This enhancement means that Jobs in Kubernetes have an optional field ` .spec.podReplacementPolicy ` .
40
41
You can choose one of two policies:
41
42
- TerminatingOrFailed (default): Replaces Pods as soon as they start terminating.
42
43
- Failed: Replaces Pods only after they fully terminate and transition to the ` Failed ` phase.
0 commit comments