|
12 | 12 | - [Design Details](#design-details)
|
13 | 13 | - [Test Plan](#test-plan)
|
14 | 14 | - [Graduation Criteria](#graduation-criteria)
|
15 |
| - - [Alpha](#alpha) |
16 |
| - - [Beta](#beta) |
17 |
| - - [Graduation](#graduation) |
| 15 | + - [Alpha (1.21)](#alpha-121) |
| 16 | + - [Beta (1.22)](#beta-122) |
| 17 | + - [Graduation (1.25)](#graduation-125) |
18 | 18 | - [Upgrade / Downgrade Strategy](#upgrade--downgrade-strategy)
|
19 | 19 | - [Version Skew Strategy](#version-skew-strategy)
|
20 | 20 | - [Production Readiness Review Questionnaire](#production-readiness-review-questionnaire)
|
@@ -183,23 +183,27 @@ quickly.
|
183 | 183 |
|
184 | 184 | ### Graduation Criteria
|
185 | 185 |
|
186 |
| -#### Alpha |
| 186 | +#### Alpha (1.21) |
187 | 187 |
|
188 | 188 | - New probe field, `terminationGracePeriodSeconds`, is implemented and
|
189 | 189 | available behind a feature flag.
|
190 | 190 | - Appropriate tests are written.
|
191 | 191 |
|
192 |
| -#### Beta |
| 192 | +#### Beta (1.22) |
193 | 193 |
|
194 |
| -- Feature flag is defaulted on. |
| 194 | +- Feature flag will default to off. |
195 | 195 | - Remove feature gate from [kubelet](https://github.com/kubernetes/kubernetes/pull/99375#issuecomment-794680869).
|
| 196 | +- Ensure that when feature gate is off in API server, probe-level |
| 197 | + `TerminationGracePeriodSeconds` is blanked out. |
196 | 198 | - Add validation to ensure `terminationGracePeriodSeconds` is non-negative.
|
| 199 | +- Feature flag is defaulted to on after kube-apiserver is +2 versions of the |
| 200 | + kubelet having the support (1.24). |
197 | 201 |
|
198 | 202 | _Below graduation criteria are tentative._
|
199 | 203 |
|
200 |
| -#### Graduation |
| 204 | +#### Graduation (1.25) |
201 | 205 |
|
202 |
| -- Feature flag is removed, feature is graduated. |
| 206 | +- Feature flag is removed, feature is graduated (1.25). |
203 | 207 |
|
204 | 208 | ### Upgrade / Downgrade Strategy
|
205 | 209 |
|
@@ -238,7 +242,11 @@ enhancement:
|
238 | 242 | n-2 kubelet without this feature will default to the old behaviour, using the
|
239 | 243 | pod-level `terminationGracePeriodSeconds`.
|
240 | 244 |
|
241 |
| -Only when feature gate is enabled for all components will we use the new field. |
| 245 | +Feature gate will be removed from kubelet in 1.22, ensuring support for n-2 |
| 246 | +version skew on a 1.24+ API server. |
| 247 | + |
| 248 | +Only when feature gate is enabled for all components will we use the new field, |
| 249 | +so we delay defaulting the feature flag on until then. |
242 | 250 |
|
243 | 251 | ## Production Readiness Review Questionnaire
|
244 | 252 |
|
@@ -292,7 +300,8 @@ _This section must be completed when targeting alpha to a release._
|
292 | 300 | Describe the consequences on existing workloads (e.g., if this is a runtime
|
293 | 301 | feature, can it break the existing applications?).
|
294 | 302 |
|
295 |
| - Yes: disable feature flag. |
| 303 | + Yes: disable feature flag. API server will blank out values if it is set in |
| 304 | + etcd while feature flag is disabled. |
296 | 305 |
|
297 | 306 | While feature flag is enabled, the feature can also be disabled by unsetting
|
298 | 307 | the field on the Probe specification, which will restore the default
|
|
0 commit comments