Skip to content

Commit e7f1606

Browse files
authored
Merge pull request #46198 from windsonsea/crdsel
[zh] Add 5 new feature gates
2 parents 399ad06 + 753141b commit e7f1606

File tree

5 files changed

+105
-0
lines changed

5 files changed

+105
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
title: CustomResourceFieldSelectors
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.30"
12+
---
13+
14+
<!--
15+
Enable `selectableFields` in the
16+
{{< glossary_tooltip term_id="CustomResourceDefinition" text="CustomResourceDefinition" >}} API to allow filtering
17+
of custom resource **list**, **watch** and **deletecollection** requests.
18+
-->
19+
在 {{< glossary_tooltip term_id="CustomResourceDefinition" text="CustomResourceDefinition" >}} API 中启用
20+
`selectableFields`,以针对 **list****watch****deletecollection** 请求过滤自定义资源。
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
title: RuntimeClassInImageCriApi
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+
Enables images to be pulled based on the [runtime class](/docs/concepts/containers/runtime-class/)
16+
of the pods that reference them.
17+
-->
18+
允许基于 Pod 所引用的[运行时类](/zh-cn/docs/concepts/containers/runtime-class/)来拉取镜像。
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
title: SELinuxMount
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.30"
12+
---
13+
14+
<!--
15+
Speeds up container startup by allowing kubelet to mount volumes
16+
for a Pod directly with the correct SELinux label instead of changing each file on the volumes
17+
recursively.
18+
It widens the performance improvements behind the `SELinuxMountReadWriteOncePod`
19+
feature gate by extending the implementation to all volumes.
20+
21+
Enabling the `SELinuxMount` feature gate requires the feature gate `SELinuxMountReadWriteOncePod` to
22+
be enabled.
23+
-->
24+
允许 kubelet 直接使用正确的 SELinux 标签为 Pod 挂载卷,而不是以递归方式更改卷上的每个文件,进而加快容器的启动速度。
25+
这一变更拓宽了针对 `SELinuxMountReadWriteOncePod` 特性门控所作的性能改进,将其对应的实现扩展到覆盖所有卷。
26+
27+
想要启用 `SELinuxMount` 特性门控,需先启用 `SELinuxMountReadWriteOncePod` 特性门控。
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
title: ServiceTrafficDistribution
3+
content_type: feature_gate
4+
5+
_build:
6+
list: never
7+
render: false
8+
9+
stages:
10+
- stage: alpha
11+
defaultValue: false
12+
fromVersion: "1.30"
13+
---
14+
15+
<!--
16+
Allows usage of the optional `spec.trafficDistribution` field in Services. The
17+
field offers a way to express preferences for how traffic is distributed to
18+
Service endpoints.
19+
-->
20+
允许在 Service 中使用可选的 `spec.trafficDistribution` 字段。
21+
此字段提供了一种对 Service 端点进行流量分发的偏好的表达方式。
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
title: StorageVersionMigrator
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.30"
12+
toVersion: "1.32"
13+
---
14+
15+
<!--
16+
Enables storage version migration. See [Migrate Kubernetes Objects Using Storage Version Migration](/docs/tasks/manage-kubernetes-objects/storage-version-migration) for more details.
17+
-->
18+
启用存储版本迁移机制。
19+
有关细节参阅[使用存储版本迁移功能来迁移 Kubernetes 对象](/zh-cn/docs/tasks/manage-kubernetes-objects/storage-version-migration)

0 commit comments

Comments
 (0)