-
Notifications
You must be signed in to change notification settings - Fork 14.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #49206 from windsonsea/feanew
[zh] Add 5 feature gates
- Loading branch information
Showing
5 changed files
with
101 additions
and
0 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
...n/docs/reference/command-line-tools-reference/feature-gates/dra-admin-access.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
title: DRAAdminAccess | ||
content_type: feature_gate | ||
_build: | ||
list: never | ||
render: false | ||
|
||
stages: | ||
- stage: alpha | ||
defaultValue: false | ||
fromVersion: "1.32" | ||
--- | ||
|
||
<!-- | ||
Enables support for requesting [admin access](/docs/concepts/scheduling-eviction/dynamic-resource-allocation/#admin-access) | ||
in a ResourceClaim. A ResourceClaim | ||
with admin access grants access to devices which are in use and may enable | ||
additional access permissions when making the device available in a container. | ||
This feature gate has no effect unless you also enable the `DynamicResourceAllocation` feature gate. | ||
--> | ||
启用在 ResourceClaim | ||
中对请求[管理员访问权限](/zh-cn/docs/concepts/scheduling-eviction/dynamic-resource-allocation/#admin-access)的支持。 | ||
具有管理员访问权限的 ResourceClaim 允许访问正在使用的设备,并且可以在允许容器访问设备时启用额外的访问权限。 | ||
|
||
想要此特性门控生效,你还需启用 `DynamicResourceAllocation` 特性门控。 |
18 changes: 18 additions & 0 deletions
18
.../command-line-tools-reference/feature-gates/dra-resource-claim-device-status.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
title: DRAResourceClaimDeviceStatus | ||
content_type: feature_gate | ||
_build: | ||
list: never | ||
render: false | ||
|
||
stages: | ||
- stage: alpha | ||
defaultValue: false | ||
fromVersion: "1.32" | ||
--- | ||
|
||
<!-- | ||
Enables support the ResourceClaim.status.devices field and for setting this | ||
status from DRA drivers. | ||
--> | ||
启用对 ResourceClaim.status.devices 字段的支持,并允许从 DRA 驱动中设置此状态。 |
18 changes: 18 additions & 0 deletions
18
...and-line-tools-reference/feature-gates/pod-lifecycle-sleep-action-allow-zero.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
title: PodLifecycleSleepActionAllowZero | ||
content_type: feature_gate | ||
_build: | ||
list: never | ||
render: false | ||
|
||
stages: | ||
- stage: alpha | ||
defaultValue: false | ||
fromVersion: "1.32" | ||
--- | ||
|
||
<!-- | ||
Enables setting zero value for the `sleep` action in [container lifecycle hooks](/docs/concepts/containers/container-lifecycle-hooks/). | ||
--> | ||
允许在[容器生命周期回调](/zh-cn/docs/concepts/containers/container-lifecycle-hooks/)中为 | ||
`sleep` 操作设置零值。 |
17 changes: 17 additions & 0 deletions
17
...ence/command-line-tools-reference/feature-gates/pod-logs-query-split-streams.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
title: PodLogsQuerySplitStreams | ||
content_type: feature_gate | ||
_build: | ||
list: never | ||
render: false | ||
|
||
stages: | ||
- stage: alpha | ||
defaultValue: false | ||
fromVersion: "1.32" | ||
--- | ||
|
||
<!-- | ||
Enable fetching specific log streams (either stdout or stderr) from a container's log streams, using the Pod API. | ||
--> | ||
允许使用 Pod API 从容器的日志流中获取特定日志流(stdout 或 stderr)。 |
22 changes: 22 additions & 0 deletions
22
.../command-line-tools-reference/feature-gates/prefer-align-cpus-by-uncorecache.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
title: PreferAlignCpusByUncoreCache | ||
content_type: feature_gate | ||
_build: | ||
list: never | ||
render: false | ||
|
||
stages: | ||
- stage: alpha | ||
defaultValue: false | ||
fromVersion: "1.32" | ||
--- | ||
|
||
<!-- | ||
When `PreferAlignCpusByUncoreCache` is enabled while the CPU Manager Policy is set to `static`, | ||
containers within a `Guaranteed` pod will individually be aligned to an uncore cache group at | ||
a best-effort policy. This feature can optimize performance for certain cache-sensitive workloads | ||
by minimizing the cpu allocation across uncore caches. | ||
--> | ||
当在 CPU 管理器的策略设为 `static` 时启用 `PreferAlignCpusByUncoreCache`, | ||
`Guaranteed` Pod 中的容器将基于尽力而为策略逐个与某个非核心缓存组对齐。 | ||
此特性可以通过最小化跨非核心缓存的 CPU 分配量来优化某些对缓存敏感的负载的性能。 |