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