-
Notifications
You must be signed in to change notification settings - Fork 40.7k
KEP-3939: Job Pod Replacement Policy; promote to GA #132173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
KEP-3939: Job Pod Replacement Policy; promote to GA #132173
Conversation
This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Change log suggestion -Job Pod Replacement Policy is promoted to GA.
+Promoted _Job Pod replacement policy_ to general availability. The `JobPodReplacementPolicy` feature gate is now locked to true, and will be removed in a future release of Kubernetes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
I haven’t been following this KEP as much so I’ll leave labels to someone more familiar if we have got everything needed for GA.
Please also adjust the e2e tests per the point in [GA}(https://github.com/kubernetes/enhancements/tree/master/keps/sig-apps/3939-allow-replacement-when-fully-terminated#ga) criteria:
|
f96105b
to
c4c2f20
Compare
/test pull-kubernetes-e2e-gce |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add comments in tests disabling the feature gate using emulated version, to indicate that this is to be deleted in 1.37 (in all places using the emulated version).
Similarly as we did for Job success policy.
@mimowo should it be v1.37 (GA+3) or v1.36(GA+2). In the KEP it is mentioned that the feature flag is to be removed in GA+2 version. |
I might be mistaken here, but I think the emulated versioning now requires longer lifetime of feature gates that it was when the ReplacementPolicy KEP was drafted. |
Yes, GA+3 is the new norm. https://github.com/kubernetes/enhancements/blob/master/keps/sig-architecture/4330-compatibility-versions/README.md#feature-gate-lifecycles |
Signed-off-by: Dejan Zele Pejchev <[email protected]>
c4c2f20
to
d4ee973
Compare
/test pull-kubernetes-e2e-kind-alpha-beta-features |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
Thanks 👍
For the Job controller tests:
/approve
LGTM label has been added. Git tree hash: cf85a0c7cda66b27523a3b57714157523765f982
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: dejanzele, mimowo The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/assign @soltysh |
What type of PR is this?
/kind feature
/sig apps
What this PR does / why we need it:
Promotes JobPodReplacementPolicy to GA.
Which issue(s) this PR is related to:
KEP: kubernetes/enhancements#3939
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: