Skip to content

Commit 484c23a

Browse files
authored
Merge pull request #44467 from windsonsea/gaten
[zh] Localize feature-gates/n*.md
2 parents 7596db3 + 32b86da commit 484c23a

12 files changed

+328
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
# Removed from Kubernetes
3+
title: NamespaceDefaultLabelName
4+
content_type: feature_gate
5+
6+
_build:
7+
list: never
8+
render: false
9+
10+
stages:
11+
- stage: beta
12+
defaultValue: true
13+
fromVersion: "1.21"
14+
toVersion: "1.21"
15+
- stage: stable
16+
defaultValue: true
17+
fromVersion: "1.22"
18+
toVersion: "1.23"
19+
20+
removed: true
21+
---
22+
23+
<!--
24+
Configure the API Server to set an immutable
25+
{{< glossary_tooltip text="label" term_id="label" >}} `kubernetes.io/metadata.name`
26+
on all namespaces, containing the namespace name.
27+
-->
28+
配置 API 服务器以在所有名字空间上设置一个不可变的{{< glossary_tooltip text="标签" term_id="label" >}}
29+
`kubernetes.io/metadata.name`,取值为名字空间的名称。
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
title: NetworkPolicyEndPort
3+
content_type: feature_gate
4+
_build:
5+
list: never
6+
render: false
7+
8+
stages:
9+
- stage: alpha
10+
defaultValue: false
11+
fromVersion: "1.21"
12+
toVersion: "1.21"
13+
- stage: beta
14+
defaultValue: true
15+
fromVersion: "1.22"
16+
toVersion: "1.24"
17+
- stage: stable
18+
defaultValue: true
19+
fromVersion: "1.25"
20+
toVersion: "1.26"
21+
22+
removed: true
23+
---
24+
25+
<!--
26+
Allows you to define ports in a
27+
[NetworkPolicy](docs/concepts/services-networking/network-policies/)
28+
rule as a range of port numbers.
29+
-->
30+
允许你在 [NetworkPolicy](/zh-cn/docs/concepts/services-networking/network-policies/)
31+
规则中将端口设置为一个端口号范围。
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
title: NetworkPolicyStatus
3+
content_type: feature_gate
4+
_build:
5+
list: never
6+
render: false
7+
8+
stages:
9+
- stage: alpha
10+
defaultValue: false
11+
fromVersion: "1.24"
12+
toVersion: "1.27"
13+
14+
removed: true
15+
---
16+
17+
<!--
18+
Enable the `status` subresource for NetworkPolicy objects.
19+
-->
20+
为 NetworkPolicy 对象启用 `status` 子资源。
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
title: NewVolumeManagerReconstruction
3+
content_type: feature_gate
4+
_build:
5+
list: never
6+
render: false
7+
8+
stages:
9+
- stage: beta
10+
defaultValue: false
11+
fromVersion: "1.27"
12+
toVersion: "1.27"
13+
- stage: beta
14+
defaultValue: true
15+
fromVersion: "1.28"
16+
---
17+
18+
<!--
19+
Enables improved discovery of mounted volumes during kubelet
20+
startup. Since this code has been significantly refactored, we allow to opt-out in case kubelet
21+
gets stuck at the startup or is not unmounting volumes from terminated Pods. Note that this
22+
refactoring was behind `SELinuxMountReadWriteOncePod` alpha feature gate in Kubernetes 1.25.
23+
-->
24+
在 kubelet 启动期间启用改进的挂载卷的发现。由于这段代码已经进行了重大重构,
25+
我们允许用户不采用这一逻辑,以免 kubelet 在启动时被卡住,或者未能为已终止的 Pod 卸载卷。
26+
请注意,此重构是作为 Kubernetes 1.25 中的 `SELinuxMountReadWriteOncePod` Alpha 特性门控的一部分完成的。
27+
28+
<!-- remove next 2 paragraphs when feature graduates to GA -->
29+
<!--
30+
Before Kubernetes v1.25, the kubelet used different default behavior for discovering mounted
31+
volumes during the kubelet startup. If you disable this feature gate (it's enabled by default), you select
32+
the legacy discovery behavior.
33+
34+
In Kubernetes v1.25 and v1.26, this behavior toggle was part of the `SELinuxMountReadWriteOncePod`
35+
feature gate.
36+
-->
37+
在 Kubernetes v1.25 之前,kubelet 在启动期间使用不同的默认行为来发现已挂载的卷。
38+
如果你禁用此特性门控(默认启用),则选择传统的发现方式。
39+
40+
在 Kubernetes v1.25 和 v1.26 中,此行为切换是 `SELinuxMountReadWriteOncePod` 特性门控的一部分。
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
title: NFTablesProxyMode
3+
content_type: feature_gate
4+
_build:
5+
list: never
6+
render: false
7+
8+
stages:
9+
- stage: alpha
10+
defaultValue: false
11+
fromVersion: "1.29"
12+
---
13+
14+
<!--
15+
Allow running kube-proxy with in [nftables mode](/docs/reference/networking/virtual-ips/#proxy-mode-nftables).
16+
-->
17+
允许使用
18+
[nftables 模式](/zh-cn/docs/reference/networking/virtual-ips/#proxy-mode-nftables)运行 kube-proxy。
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
# Removed from Kubernetes
3+
title: NodeDisruptionExclusion
4+
content_type: feature_gate
5+
6+
_build:
7+
list: never
8+
render: false
9+
10+
stages:
11+
- stage: alpha
12+
defaultValue: false
13+
fromVersion: "1.16"
14+
toVersion: "1.18"
15+
- stage: beta
16+
defaultValue: true
17+
fromVersion: "1.19"
18+
toVersion: "1.20"
19+
- stage: stable
20+
defaultValue: true
21+
fromVersion: "1.21"
22+
toVersion: "1.22"
23+
24+
removed: true
25+
---
26+
27+
<!--
28+
Enable use of the Node label `node.kubernetes.io/exclude-disruption`
29+
which prevents nodes from being evacuated during zone failures.
30+
-->
31+
启用节点标签 `node.kubernetes.io/exclude-disruption`
32+
以防止在可用区发生故障期间驱逐节点。
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
title: NodeInclusionPolicyInPodTopologySpread
3+
content_type: feature_gate
4+
_build:
5+
list: never
6+
render: false
7+
8+
stages:
9+
- stage: alpha
10+
defaultValue: false
11+
fromVersion: "1.25"
12+
toVersion: "1.25"
13+
- stage: beta
14+
defaultValue: true
15+
fromVersion: "1.26"
16+
---
17+
18+
<!--
19+
Enable using `nodeAffinityPolicy` and `nodeTaintsPolicy` in
20+
[Pod topology spread constraints](/docs/concepts/scheduling-eviction/topology-spread-constraints/)
21+
when calculating pod topology spread skew.
22+
-->
23+
在计算 Pod 拓扑分布偏差时允许在
24+
[Pod 拓扑分布约束](/zh-cn/docs/concepts/scheduling-eviction/topology-spread-constraints/)中使用
25+
`nodeAffinityPolicy``nodeTaintsPolicy`
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
# Removed from Kubernetes
3+
title: NodeLease
4+
content_type: feature_gate
5+
6+
_build:
7+
list: never
8+
render: false
9+
10+
stages:
11+
- stage: alpha
12+
defaultValue: false
13+
fromVersion: "1.12"
14+
toVersion: "1.13"
15+
- stage: beta
16+
defaultValue: true
17+
fromVersion: "1.14"
18+
toVersion: "1.16"
19+
- stage: stable
20+
defaultValue: true
21+
fromVersion: "1.17"
22+
toVersion: "1.23"
23+
24+
removed: true
25+
---
26+
27+
<!--
28+
Enable the new Lease API to report node heartbeats, which could be used as a node health signal.
29+
-->
30+
启用新的 Lease API 以报告节点心跳,节点心跳可用作节点运行状况信号。
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
title: NodeLogQuery
3+
content_type: feature_gate
4+
_build:
5+
list: never
6+
render: false
7+
8+
stages:
9+
- stage: alpha
10+
defaultValue: false
11+
fromVersion: "1.27"
12+
---
13+
14+
<!--
15+
Enables querying logs of node services using the `/logs` endpoint.
16+
-->
17+
允许使用 `/logs` 端点来查询节点服务的日志。
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
title: NodeOutOfServiceVolumeDetach
3+
content_type: feature_gate
4+
_build:
5+
list: never
6+
render: false
7+
8+
stages:
9+
- stage: alpha
10+
defaultValue: false
11+
fromVersion: "1.24"
12+
toVersion: "1.25"
13+
- stage: beta
14+
defaultValue: true
15+
fromVersion: "1.26"
16+
toVersion: "1.27"
17+
- stage: stable
18+
defaultValue: true
19+
fromVersion: "1.28"
20+
---
21+
22+
<!--
23+
When a Node is marked out-of-service using the
24+
`node.kubernetes.io/out-of-service` taint, Pods on the node will be forcefully deleted
25+
if they can not tolerate this taint, and the volume detach operations for Pods terminating
26+
on the node will happen immediately. The deleted Pods can recover quickly on different nodes.
27+
-->
28+
当使用 `node.kubernetes.io/out-of-service`
29+
污点将节点标记为无法提供服务时,节点上不能容忍这个污点的 Pod 将被强制删除,
30+
并且针对此节点上被终止的 Pod 将立即执行解除卷挂接操作。
31+
被删除的 Pod 可以很快在不同的节点上恢复。

0 commit comments

Comments
 (0)