Skip to content

Commit 4f9ca82

Browse files
committed
Update KEP for version skew strategy
1 parent c0c0a59 commit 4f9ca82

File tree

2 files changed

+20
-11
lines changed

2 files changed

+20
-11
lines changed

keps/sig-node/2238-liveness-probe-grace-period/README.md

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
- [Design Details](#design-details)
1313
- [Test Plan](#test-plan)
1414
- [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)
1818
- [Upgrade / Downgrade Strategy](#upgrade--downgrade-strategy)
1919
- [Version Skew Strategy](#version-skew-strategy)
2020
- [Production Readiness Review Questionnaire](#production-readiness-review-questionnaire)
@@ -183,23 +183,27 @@ quickly.
183183

184184
### Graduation Criteria
185185

186-
#### Alpha
186+
#### Alpha (1.21)
187187

188188
- New probe field, `terminationGracePeriodSeconds`, is implemented and
189189
available behind a feature flag.
190190
- Appropriate tests are written.
191191

192-
#### Beta
192+
#### Beta (1.22)
193193

194-
- Feature flag is defaulted on.
194+
- Feature flag will default to off.
195195
- 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.
196198
- 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).
197201

198202
_Below graduation criteria are tentative._
199203

200-
#### Graduation
204+
#### Graduation (1.25)
201205

202-
- Feature flag is removed, feature is graduated.
206+
- Feature flag is removed, feature is graduated (1.25).
203207

204208
### Upgrade / Downgrade Strategy
205209

@@ -238,7 +242,11 @@ enhancement:
238242
n-2 kubelet without this feature will default to the old behaviour, using the
239243
pod-level `terminationGracePeriodSeconds`.
240244

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.
242250

243251
## Production Readiness Review Questionnaire
244252

@@ -292,7 +300,8 @@ _This section must be completed when targeting alpha to a release._
292300
Describe the consequences on existing workloads (e.g., if this is a runtime
293301
feature, can it break the existing applications?).
294302

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.
296305

297306
While feature flag is enabled, the feature can also be disabled by unsetting
298307
the field on the Probe specification, which will restore the default

keps/sig-node/2238-liveness-probe-grace-period/kep.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ latest-milestone: "v1.22"
2929
milestone:
3030
alpha: "v1.21"
3131
beta: "v1.22"
32-
stable: "v1.23"
32+
stable: "v1.25"
3333

3434
# The following PRR answers are required at alpha release
3535
# List the feature gate name and the components for which it must be enabled

0 commit comments

Comments
 (0)