You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -110,26 +40,12 @@ tags, and then generate with `hack/update-toc.sh`.
110
40
111
41
## Release Signoff Checklist
112
42
113
-
<!--
114
-
**ACTION REQUIRED:** In order to merge code into a release, there must be an
115
-
issue in [kubernetes/enhancements] referencing this KEP and targeting a release
116
-
milestone **before the [Enhancement Freeze](https://git.k8s.io/sig-release/releases)
117
-
of the targeted release**.
118
-
119
-
For enhancements that make changes to code or processes/procedures in core
120
-
Kubernetes—i.e., [kubernetes/kubernetes], we require the following Release
121
-
Signoff checklist to be completed.
122
-
123
-
Check these off as they are completed for the Release Team to track. These
124
-
checklist items _must_ be updated for the enhancement to be released.
125
-
-->
126
-
127
43
Items marked with (R) are required *prior to targeting to a milestone / release*.
128
44
129
-
-[] (R) Enhancement issue in release milestone, which links to KEP dir in [kubernetes/enhancements] (not the initial KEP PR)
130
-
-[] (R) KEP approvers have approved the KEP status as `implementable`
131
-
-[] (R) Design details are appropriately documented
132
-
-[] (R) Test plan is in place, giving consideration to SIG Architecture and SIG Testing input (including test refactors)
45
+
-[x] (R) Enhancement issue in release milestone, which links to KEP dir in [kubernetes/enhancements] (not the initial KEP PR)
46
+
-[x] (R) KEP approvers have approved the KEP status as `implementable`
47
+
-[x] (R) Design details are appropriately documented
48
+
-[x] (R) Test plan is in place, giving consideration to SIG Architecture and SIG Testing input (including test refactors)
133
49
-[ ] e2e Tests for all Beta API Operations (endpoints)
134
50
-[ ] (R) Ensure GA e2e tests meet requirements for [Conformance Tests](https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/conformance-tests.md)
135
51
-[ ] (R) Minimum Two Week Window for GA e2e tests to prove flake free
@@ -231,13 +147,6 @@ As a Kubernetes user, I want to to be able to have a PreStop hook defined in my
231
147
232
148
### Notes/Constraints/Caveats (Optional)
233
149
234
-
<!--
235
-
What are the caveats to the proposal?
236
-
What are some important details that didn't come across above?
237
-
Go in to as much detail as necessary here.
238
-
This might be a good place to talk about core concepts and how they relate.
239
-
-->
240
-
241
150
### Risks and Mitigations
242
151
243
152
The change is opt-in, since it requires configuring a PreStop hook with sleep action of 0 second duration. So there is no risk beyond the upgrade/downgrade risks which are addressed in the Proposal section.
@@ -248,17 +157,6 @@ Refer to the Proposal section.
248
157
249
158
### Test Plan
250
159
251
-
<!--
252
-
**Note:** *Not required until targeted at a release.*
253
-
The goal is to ensure that we don't accept enhancements with inadequate testing.
254
-
255
-
All code is expected to have adequate tests (eventually with coverage
256
-
expectations). Please adhere to the [Kubernetes testing guidelines][testing-guidelines]
This can inform certain test coverage improvements that we want to do before
291
-
extending the production code to implement this enhancement.
292
-
-->
293
-
294
173
Alpha:
295
174
296
175
- Test that the runSleepHandler function returns immediately when given a duration of zero.
297
176
- Test that the validation succeeds when given a zero duration with the feature gate enabled.
298
177
- Test that the validation fails when given a zero duration with the feature gate disabled.
299
178
- Test that the validation returns the appropriate error messages when given an invalid duration value (e.g., a negative value) with the feature gate disabled and enabled.
300
179
- Unit tests for testing the disabling of the feature gate after it was enabled and the feature was used.
180
+
- Unit tests for pod with zero grace period duration and zero sleep duration with zero value enabled.
181
+
- Unit test for pod with nil grace period with zero value disabled
182
+
- Unit test for pod with nil grace period with zero value enabled
301
183
302
184
Current coverages:
303
185
@@ -342,6 +224,12 @@ Basic functionality
342
224
- Delete the pod and observe the time it takes for the container to terminate.
343
225
- Verify that the container terminates immediately without sleeping.
344
226
227
+
Additional e2e tests for beta:
228
+
- Test that pods with sleep value of 0 in PreStop hook can be created
229
+
- Test that pods with sleep value of 0 in PostStart hook can be created
230
+
- Test that pods with sleep value of 0 in PreStop hook can be updated
231
+
- Test that pods with sleep value of 0 in PostStart hook can be updated
232
+
345
233
### Graduation Criteria
346
234
347
235
#### Alpha
@@ -350,7 +238,7 @@ Basic functionality
350
238
351
239
#### Beta
352
240
- Gather feedback from developers and surveys
353
-
- Additional e2e tests are completed (if needed)
241
+
- Additional e2e tests are completed
354
242
- No trouble reports from alpha release
355
243
356
244
#### GA
@@ -565,6 +453,9 @@ Major milestones might include:
565
453
- when the KEP was retired or superseded
566
454
-->
567
455
456
+
- 2024-09-26: Alpha KEP PR opened for v1.32
457
+
- 2025-02-06: KEP updated targeting to beta in v1.33
0 commit comments