[zh] Sync feature gates

pull/46148/head
windsonsea 2024-05-03 09:08:25 +08:00
parent 59b8704e2b
commit 822e1f5b10
15 changed files with 73 additions and 30 deletions

View File

@ -12,7 +12,11 @@ stages:
toVersion: "1.27"
- stage: beta
defaultValue: true
fromVersion: "1.28"
fromVersion: "1.28"
toVersion: "1.29"
- stage: stable
defaultValue: true
fromVersion: "1.30"
---
<!--

View File

@ -1,4 +1,5 @@
---
# Removed from Kubernetes
title: APISelfSubjectReview
content_type: feature_gate
_build:
@ -16,7 +17,7 @@ stages:
toVersion: "1.27"
- stage: stable
defaultValue: true
fromVersion: "1.28"
fromVersion: "1.28"
---
<!--

View File

@ -9,7 +9,12 @@ stages:
- stage: alpha
defaultValue: false
fromVersion: "1.28"
toVersion: "1.29"
- stage: beta
defaultValue: true
fromVersion: "1.30"
---
<!--
Enable updates to custom resources to contain
violations of their OpenAPI schema if the offending portions of the resource

View File

@ -13,10 +13,15 @@ stages:
- stage: beta
defaultValue: true
fromVersion: "1.27"
toVersion: "1.29"
- stage: stable
defaultValue: true
fromVersion: "1.30"
---
<!--
Enable the `HorizontalPodAutoscaler` to scale based on
metrics from individual containers in target pods.
Allow {{< glossary_tooltip text="HorizontalPodAutoscalers" term_id="horizontal-pod-autoscaler" >}}
to scale based on metrics from individual containers within target pods.
-->
启用 `HorizontalPodAutoscaler` 基于目标 Pod 中单个容器的指标进行扩缩。
允许 {{< glossary_tooltip text="HorizontalPodAutoscalers" term_id="horizontal-pod-autoscaler" >}}
基于目标 Pod 中单个容器的指标进行扩缩。

View File

@ -21,15 +21,11 @@ stages:
fromVersion: "1.25"
toVersion: "1.26"
removed: true
removed: true
---
<!--
Allows the Pod OS field to be specified. This helps in identifying
the OS of the pod authoritatively during the API server admission time.
In Kubernetes {{< skew currentVersion >}}, the allowed values for the `pod.spec.os.name`
are `windows` and `linux`.
-->
允许设置 Pod 的 `os` 字段。这有助于在 API 服务器准入时确定性地辨识 Pod 的 OS。
在 Kubernetes {{< skew currentVersion >}} 中,`pod.spec.os.name` 的允许值为
`windows``linux`

View File

@ -8,7 +8,11 @@ _build:
stages:
- stage: alpha
defaultValue: false
fromVersion: "1.29"
fromVersion: "1.29"
toVersion: "1.29"
- stage: beta
defaultValue: true
fromVersion: "1.30"
---
<!--

View File

@ -13,6 +13,10 @@ stages:
- stage: beta
defaultValue: true
fromVersion: "1.29"
toVersion: "1.29"
- stage: stable
defaultValue: true
fromVersion: "1.30"
---
<!--

View File

@ -13,28 +13,24 @@ stages:
- stage: beta
defaultValue: true
fromVersion: "1.28"
toVersion: "1.29"
- stage: stable
defaultValue: true
fromVersion: "1.30"
---
<!--
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.
startup. Since the associated code had been significantly refactored, Kubernetes versions 1.25 to 1.29
allowed you to opt-out in case the kubelet got stuck at the startup, or did not unmount volumes
from terminated Pods.
-->
在 kubelet 启动期间启用改进的挂载卷的发现。由于这段代码已经进行了重大重构,
我们允许用户不采用这一逻辑,以免 kubelet 在启动时被卡住,或者未能为已终止的 Pod 卸载卷。
在 kubelet 启动期间启用改进的挂载卷的发现。由于关联的代码已经进行了重大重构,
Kubernetes v1.25 到 v1.29 允许你不采用这一逻辑,以免 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.
This refactoring was behind the `SELinuxMountReadWriteOncePod` feature gate in Kubernetes
releases 1.25 and 1.26.
-->
在 Kubernetes v1.25 之前kubelet 在启动期间使用不同的默认行为来发现已挂载的卷。
如果你禁用此特性门控(默认启用),则选择传统的发现方式。
在 Kubernetes v1.25 和 v1.26 中,此行为切换是 `SELinuxMountReadWriteOncePod` 特性门控的一部分。
在 Kubernetes v1.25 和 v1.26 中,此重构行为是 `SELinuxMountReadWriteOncePod` 特性门控的一部分。

View File

@ -9,6 +9,10 @@ stages:
- stage: alpha
defaultValue: false
fromVersion: "1.27"
toVersion: "1.29"
- stage: beta
defaultValue: false
fromVersion: "1.30"
---
<!--

View File

@ -13,6 +13,10 @@ stages:
- stage: beta
defaultValue: true
fromVersion: "1.29"
toVersion: "1.30"
- stage: stable
defaultValue: true
fromVersion: "1.30"
---
<!--

View File

@ -9,7 +9,12 @@ stages:
- stage: alpha
defaultValue: false
fromVersion: "1.29"
toVersion: "1.29"
- stage: beta
defaultValue: true
fromVersion: "1.30"
---
<!--
Controls whether JTIs (UUIDs) are embedded into generated service account tokens,
and whether these JTIs are recorded into the Kubernetes audit log for future requests made by these tokens.

View File

@ -9,7 +9,12 @@ stages:
- stage: beta
defaultValue: true
fromVersion: "1.27"
toVersion: "1.29"
- stage: stable
defaultValue: true
fromVersion: "1.30"
---
<!--
Enables less load balancer re-configurations by
the service controller (KCCM) as an effect of changing node state.

View File

@ -9,7 +9,12 @@ stages:
- stage: alpha
defaultValue: false
fromVersion: "1.29"
toVersion: "1.29"
- stage: beta
defaultValue: true
fromVersion: "1.30"
---
<!--
Enable [structured authentication configuration](/docs/reference/access-authn-authz/authentication/#configuring-the-api-server)
for the API server.

View File

@ -9,7 +9,12 @@ stages:
- stage: alpha
defaultValue: false
fromVersion: "1.29"
toVersion: "1.29"
- stage: beta
defaultValue: true
fromVersion: "1.30"
---
<!--
Enable structured authorization configuration, so that cluster administrators
can specify more than one [authorization webhook](/docs/reference/access-authn-authz/webhook/)

View File

@ -6,9 +6,9 @@ _build:
render: false
stages:
- stage: alpha
defaultValue: false
fromVersion: "1.29"
- stage: beta
defaultValue: true
fromVersion: "1.30"
---
<!--