Skip to content

Commit f4606d4

Browse files
authored
Merge pull request #27732 from liggitt/1-21-deprecations
1.25 deprecations
2 parents 582d97b + 0e2b857 commit f4606d4

File tree

1 file changed

+21
-4
lines changed

1 file changed

+21
-4
lines changed

content/en/docs/reference/using-api/deprecation-guide.md

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,14 @@ deprecated API versions to newer and more stable API versions.
2525

2626
The **v1.25** release will stop serving the following deprecated API versions:
2727

28+
#### CronJob {#cronjob-v125}
29+
30+
The **batch/v1beta1** API version of CronJob will no longer be served in v1.25.
31+
32+
* Migrate manifests and API clients to use the **batch/v1** API version, available since v1.21.
33+
* All existing persisted objects are accessible via the new API
34+
* No notable changes
35+
2836
#### EndpointSlice {#endpointslice-v125}
2937

3038
The **discovery.k8s.io/v1beta1** API version of EndpointSlice will no longer be served in v1.25.
@@ -52,13 +60,14 @@ The **events.k8s.io/v1beta1** API version of Event will no longer be served in v
5260
* use `reportingComponent` instead of the deprecated `source.component` field (which is renamed to `deprecatedSource.component` and not permitted in new **events.k8s.io/v1** Events)
5361
* use `reportingInstance` instead of the deprecated `source.host` field (which is renamed to `deprecatedSource.host` and not permitted in new **events.k8s.io/v1** Events)
5462

55-
#### RuntimeClass {#runtimeclass-v125}
63+
#### PodDisruptionBudget {#poddisruptionbudget-v125}
5664

57-
RuntimeClass in the **node.k8s.io/v1beta1** API version will no longer be served in v1.25.
65+
The **policy/v1beta1** API version of PodDisruptionBudget will no longer be served in v1.25.
5866

59-
* Migrate manifests and API clients to use the **node.k8s.io/v1** API version, available since v1.20.
67+
* Migrate manifests and API clients to use the **policy/v1** API version, available since v1.21.
6068
* All existing persisted objects are accessible via the new API
61-
* No notable changes
69+
* Notable changes in **policy/v1**:
70+
* an empty `spec.selector` (`{}`) written to a `policy/v1` PodDisruptionBudget selects all pods in the namespace (in `policy/v1beta1` an empty `spec.selector` selected no pods). An unset `spec.selector` selects no pods in either API version.
6271

6372
#### PodSecurityPolicy {#psp-v125}
6473

@@ -67,6 +76,14 @@ PodSecurityPolicy in the **policy/v1beta1** API version will no longer be served
6776
PodSecurityPolicy replacements are still under discussion, but current use can be migrated to
6877
[3rd-party admission webhooks](https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/) now.
6978

79+
#### RuntimeClass {#runtimeclass-v125}
80+
81+
RuntimeClass in the **node.k8s.io/v1beta1** API version will no longer be served in v1.25.
82+
83+
* Migrate manifests and API clients to use the **node.k8s.io/v1** API version, available since v1.20.
84+
* All existing persisted objects are accessible via the new API
85+
* No notable changes
86+
7087
### v1.22
7188

7289
The **v1.22** release will stop serving the following deprecated API versions:

0 commit comments

Comments
 (0)