Skip to content

Commit eb860d5

Browse files
authored
Merge pull request #35818 from windsonsea/blog125
[zh-cn] resync 2022-08-04-kubernetes-1.25-deprecations-and-removals.md
2 parents 4b666f3 + 2b9be75 commit eb860d5

File tree

1 file changed

+27
-32
lines changed

1 file changed

+27
-32
lines changed

content/zh-cn/blog/_posts/2022-08-04-kubernetes-1.25-deprecations-and-removals.md

Lines changed: 27 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -68,31 +68,31 @@ Kubernetes v1.25 将移除 PodSecurityPolicy。PodSecurityPolicy 曾光荣地为
6868
<!--
6969
## Major Changes for Kubernetes v1.25
7070
71-
Kubernetes v1.25 includes several major changes, in addition to the removal of PodSecurityPolicy.
71+
Kubernetes v1.25 will include several major changes, in addition to the removal of PodSecurityPolicy.
7272
7373
### [CSI Migration](https://github.com/kubernetes/enhancements/issues/625)
7474
7575
The effort to move the in-tree volume plugins to out-of-tree CSI drivers continues, with the core CSI Migration feature going GA in v1.25. This is an important step towards removing the in-tree volume plugins entirely.
7676
-->
7777
## Kubernetes v1.25 的主要变更 {#major-changes-for-kubernetes-v1.25}
7878

79-
Kubernetes v1.25 除了移除 PodSecurityPolicy 之外,还包括以下几个主要变更
79+
Kubernetes v1.25 除了移除 PodSecurityPolicy 之外,还将包括以下几个主要变更
8080

8181
### [CSI Migration](https://github.com/kubernetes/enhancements/issues/625)
8282

8383
将树内卷插件迁移到树外 CSI 驱动的努力还在继续,核心的 CSI Migration 特性在 v1.25 进入 GA 阶段。
8484
对于全面移除树内卷插件而言,这是重要的一步。
8585

8686
<!--
87-
### Volume Plugin Deprecations and Removals
87+
### Deprecations and removals for storage drivers
8888
89-
Several volume are being deprecated or removed.
89+
Several volume plugins are being deprecated or removed.
9090
9191
[GlusterFS will be deprecated in v1.25](https://github.com/kubernetes/enhancements/issues/3446). While a CSI driver was built for it, it has not been maintained. The possibility of migration to a compatible CSI driver [was discussed](https://github.com/kubernetes/kubernetes/issues/100897), but a decision was ultimately made to begin the deprecation of the GlusterFS plugin from in-tree drivers. The [Portworx in-tree volume plugin](https://github.com/kubernetes/enhancements/issues/2589) is also being deprecated with this release. The Flocker, Quobyte, and StorageOS in-tree volume plugins are being removed.
9292
-->
93-
### 卷插件弃用和移除 {#volume-plugin-deprecation-and-removals}
93+
### 存储驱动的弃用和移除 {#deprecations-and-removals-for-storage-drivers}
9494

95-
若干卷将被弃用或移除
95+
若干卷插件将被弃用或移除
9696

9797
[GlusterFS 将在 v1.25](https://github.com/kubernetes/enhancements/issues/3446) 中被弃用。
9898
虽然为其构建了 CSI 驱动,但未曾得到维护。
@@ -102,54 +102,49 @@ Several volume are being deprecated or removed.
102102
Flocker、Quobyte 和 StorageOS 树内卷插件将被移除。
103103

104104
<!--
105-
### [Declare Unsupported vSphere Versions](https://github.com/kubernetes/kubernetes/pull/111255)
106-
107-
From Kubernetes v1.25, the in-tree vSphere volume driver will not support any vSphere release before 7.0u2. Check the v1.25 detailed release notes for more advice on how to handle this.
105+
[Flocker](https://github.com/kubernetes/kubernetes/pull/111618), [Quobyte](https://github.com/kubernetes/kubernetes/pull/111619), and [StorageOS](https://github.com/kubernetes/kubernetes/pull/111620) in-tree volume plugins will be removed in v1.25 as part of the [CSI Migration](https://github.com/kubernetes/enhancements/tree/master/keps/sig-storage/625-csi-migration).
108106
-->
109-
### [声明不支持的 vSphere 版本](https://github.com/kubernetes/kubernetes/pull/111255)
110-
111-
从 Kubernetes v1.25 开始,树内 vSphere 卷驱动将不支持任何早于 7.0u2 的 vSphere 版本。
112-
查阅 v1.25 详细发行说明,了解如何处理这种状况的更多建议。
107+
[Flocker](https://github.com/kubernetes/kubernetes/pull/111618)
108+
[Quobyte](https://github.com/kubernetes/kubernetes/pull/111619)
109+
[StorageOS](https://github.com/kubernetes/kubernetes/pull/111620) 树内卷插件将作为
110+
[CSI Migration](https://github.com/kubernetes/enhancements/tree/master/keps/sig-storage/625-csi-migration)
111+
的一部分在 v1.25 中移除。
113112

114113
<!--
115-
### [Signing Release Artifacts](https://github.com/kubernetes/enhancements/issues/3031)
116-
117-
An additional step in improving the security posture of the release process, the signing of Kubernetes release artifacts will graduate to Beta in this release. This is in line with the proposed enhancement of targeting SLSA Level 3 compliance for the Kubernetes release process.
118-
-->
119-
### [签署发行工件](https://github.com/kubernetes/enhancements/issues/3031)
114+
### [Change to vSphere version support](https://github.com/kubernetes/kubernetes/pull/111255)
120115
121-
作为改善发行过程安全状况的附加步骤,Kubernetes 发行工件的签署将在本次发行中进入 Beta 阶段。
122-
这与提议的加强 Kubernetes 发行流程的 SLSA 3 级合规性的目标相一致。
123-
124-
<!--
125-
### [Support for cgroup v2 Graduating to Stable](https://github.com/kubernetes/enhancements/issues/2254)
126-
127-
The new kernel cgroups v2 API was declared stable more than two years ago, and in this release we're taking solid steps towards full adoption of it. While cgroup v1 will continue to be supported, this change makes us ready to deal with the eventual deprecation of cgroup v1 and its replacement by cgroup v2.
116+
From Kubernetes v1.25, the in-tree vSphere volume driver will not support any vSphere release before 7.0u2. Check the v1.25 detailed release notes for more advice on how to handle this.
128117
-->
129-
### [cgroup v2 的支持进入稳定阶段](https://github.com/kubernetes/enhancements/issues/2254)
118+
### [vSphere 版本支持的变更](https://github.com/kubernetes/kubernetes/pull/111255)
130119

131-
新的内核 cgroups v2 API 在两年多前就被宣布进入稳定阶段。
132-
在本次发行中,我们又为全面采用此 API 迈出了坚实的步伐。
133-
虽然还会继续支持 cgroup v1,但这一变更使我们准备好应对 cgroup v1 的最终弃用并被 cgroup v2 取代。
120+
从 Kubernetes v1.25 开始,树内 vSphere 卷驱动将不支持任何早于 7.0u2 的 vSphere 版本。
121+
查阅 v1.25 详细发行说明,了解如何处理这种状况的更多建议。
134122

135123
<!--
136124
### [Cleaning up IPTables Chain Ownership](https://github.com/kubernetes/enhancements/issues/3178)
137125
138-
From the Kubernetes 1.25 release, the iptables chains created by Kubernetes will only support for internal Kubernetes use cases. Starting with v1.25, the Kubelet will gradually move towards not creating the following iptables chains in the `nat` table:
126+
On Linux, Kubernetes (usually) creates iptables chains to ensure that network packets reach
127+
Although these chains and their names have been an internal implementation detail, some tooling
128+
has relied upon that behavior.
129+
will only support for internal Kubernetes use cases. Starting with v1.25, the Kubelet will gradually move towards not creating the following iptables chains in the `nat` table:
139130
-->
140131
### [清理 IPTables 链的所有权](https://github.com/kubernetes/enhancements/issues/3178)
141132

142-
从 Kubernetes 1.25 版本开始,Kubernetes 创建的 iptables 链将仅支持 Kubernetes 内部的使用场景。
133+
在 Linux 上,Kubernetes(通常)创建 iptables 链来确保这些网络数据包到达,
134+
尽管这些链及其名称已成为内部实现的细节,但某些工具已依赖于此行为。
135+
将仅支持内部 Kubernetes 使用场景。
143136
从 v1.25 开始,Kubelet 将逐渐迁移为不在 `nat` 表中创建以下 iptables 链:
144137

145138
- `KUBE-MARK-DROP`
146139
- `KUBE-MARK-MASQ`
147140
- `KUBE-POSTROUTING`
148141

149142
<!--
150-
This change will be phased in via the `IPTablesCleanup` feature gate.
143+
This change will be phased in via the `IPTablesCleanup` feature gate. Although this is not formally a deprecation, some end users have come to rely on specific internal behavior of `kube-proxy`. The Kubernetes project overall wants to make it clear that depending on these internal details is not supported, and that future implementations will change their behavior here.
151144
-->
152145
此项变更将通过 `IPTablesCleanup` 特性门控分阶段完成。
146+
尽管这不是正式的弃用,但某些最终用户已开始依赖 `kube-proxy` 特定的内部行为。
147+
Kubernetes 项目总体上希望明确表示不支持依赖这些内部细节,并且未来的实现将更改它们在此处的行为。
153148

154149
<!--
155150
## Looking ahead

0 commit comments

Comments
 (0)