Skip to content

Commit 34bc21e

Browse files
authored
Merge pull request #46148 from windsonsea/newvol
[zh] Sync 15 feature gates for reference
2 parents 07ef8ae + 822e1f5 commit 34bc21e

15 files changed

+73
-30
lines changed

content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/admission-webhook-match-conditions.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@ stages:
1212
toVersion: "1.27"
1313
- stage: beta
1414
defaultValue: true
15-
fromVersion: "1.28"
15+
fromVersion: "1.28"
16+
toVersion: "1.29"
17+
- stage: stable
18+
defaultValue: true
19+
fromVersion: "1.30"
1620
---
1721

1822
<!--

content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/api-self-subject-review.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
# Removed from Kubernetes
23
title: APISelfSubjectReview
34
content_type: feature_gate
45
_build:
@@ -16,7 +17,7 @@ stages:
1617
toVersion: "1.27"
1718
- stage: stable
1819
defaultValue: true
19-
fromVersion: "1.28"
20+
fromVersion: "1.28"
2021
---
2122

2223
<!--

content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/crd-validation-ratcheting.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,12 @@ stages:
99
- stage: alpha
1010
defaultValue: false
1111
fromVersion: "1.28"
12+
toVersion: "1.29"
13+
- stage: beta
14+
defaultValue: true
15+
fromVersion: "1.30"
1216
---
17+
1318
<!--
1419
Enable updates to custom resources to contain
1520
violations of their OpenAPI schema if the offending portions of the resource

content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/hpa-container-metrics.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,15 @@ stages:
1313
- stage: beta
1414
defaultValue: true
1515
fromVersion: "1.27"
16+
toVersion: "1.29"
17+
- stage: stable
18+
defaultValue: true
19+
fromVersion: "1.30"
1620
---
1721

1822
<!--
19-
Enable the `HorizontalPodAutoscaler` to scale based on
20-
metrics from individual containers in target pods.
23+
Allow {{< glossary_tooltip text="HorizontalPodAutoscalers" term_id="horizontal-pod-autoscaler" >}}
24+
to scale based on metrics from individual containers within target pods.
2125
-->
22-
启用 `HorizontalPodAutoscaler` 基于目标 Pod 中单个容器的指标进行扩缩。
26+
允许 {{< glossary_tooltip text="HorizontalPodAutoscalers" term_id="horizontal-pod-autoscaler" >}}
27+
基于目标 Pod 中单个容器的指标进行扩缩。

content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/identify-pod-os.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,11 @@ stages:
2121
fromVersion: "1.25"
2222
toVersion: "1.26"
2323

24-
removed: true
24+
removed: true
2525
---
2626

2727
<!--
2828
Allows the Pod OS field to be specified. This helps in identifying
2929
the OS of the pod authoritatively during the API server admission time.
30-
In Kubernetes {{< skew currentVersion >}}, the allowed values for the `pod.spec.os.name`
31-
are `windows` and `linux`.
3230
-->
3331
允许设置 Pod 的 `os` 字段。这有助于在 API 服务器准入时确定性地辨识 Pod 的 OS。
34-
在 Kubernetes {{< skew currentVersion >}} 中,`pod.spec.os.name` 的允许值为
35-
`windows``linux`

content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/image-maximum-gc-age.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ _build:
88
stages:
99
- stage: alpha
1010
defaultValue: false
11-
fromVersion: "1.29"
11+
fromVersion: "1.29"
12+
toVersion: "1.29"
13+
- stage: beta
14+
defaultValue: true
15+
fromVersion: "1.30"
1216
---
1317

1418
<!--

content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/legacy-service-account-token-clean-up.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ stages:
1313
- stage: beta
1414
defaultValue: true
1515
fromVersion: "1.29"
16+
toVersion: "1.29"
17+
- stage: stable
18+
defaultValue: true
19+
fromVersion: "1.30"
1620
---
1721

1822
<!--

content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/new-volume-manager-reconstruction.md

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -13,28 +13,24 @@ stages:
1313
- stage: beta
1414
defaultValue: true
1515
fromVersion: "1.28"
16+
toVersion: "1.29"
17+
- stage: stable
18+
defaultValue: true
19+
fromVersion: "1.30"
1620
---
1721

1822
<!--
1923
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.
24+
startup. Since the associated code had been significantly refactored, Kubernetes versions 1.25 to 1.29
25+
allowed you to opt-out in case the kubelet got stuck at the startup, or did not unmount volumes
26+
from terminated Pods.
2327
-->
24-
在 kubelet 启动期间启用改进的挂载卷的发现。由于这段代码已经进行了重大重构
25-
我们允许用户不采用这一逻辑,以免 kubelet 在启动时被卡住,或者未能为已终止的 Pod 卸载卷。
28+
在 kubelet 启动期间启用改进的挂载卷的发现。由于关联的代码已经进行了重大重构
29+
Kubernetes v1.25 到 v1.29 允许你不采用这一逻辑,以免 kubelet 在启动时被卡住,或者未能为已终止的 Pod 卸载卷。
2630
请注意,此重构是作为 Kubernetes 1.25 中的 `SELinuxMountReadWriteOncePod` Alpha 特性门控的一部分完成的。
2731

28-
<!-- remove next 2 paragraphs when feature graduates to GA -->
2932
<!--
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.
33+
This refactoring was behind the `SELinuxMountReadWriteOncePod` feature gate in Kubernetes
34+
releases 1.25 and 1.26.
3635
-->
37-
在 Kubernetes v1.25 之前,kubelet 在启动期间使用不同的默认行为来发现已挂载的卷。
38-
如果你禁用此特性门控(默认启用),则选择传统的发现方式。
39-
40-
在 Kubernetes v1.25 和 v1.26 中,此行为切换是 `SELinuxMountReadWriteOncePod` 特性门控的一部分。
36+
在 Kubernetes v1.25 和 v1.26 中,此重构行为是 `SELinuxMountReadWriteOncePod` 特性门控的一部分。

content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/node-log-query.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ stages:
99
- stage: alpha
1010
defaultValue: false
1111
fromVersion: "1.27"
12+
toVersion: "1.29"
13+
- stage: beta
14+
defaultValue: false
15+
fromVersion: "1.30"
1216
---
1317

1418
<!--

content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/pod-host-ips.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ stages:
1313
- stage: beta
1414
defaultValue: true
1515
fromVersion: "1.29"
16+
toVersion: "1.30"
17+
- stage: stable
18+
defaultValue: true
19+
fromVersion: "1.30"
1620
---
1721

1822
<!--

0 commit comments

Comments
 (0)