Skip to content

Commit

Permalink
Merge pull request #49206 from windsonsea/feanew
Browse files Browse the repository at this point in the history
[zh] Add 5 feature gates
  • Loading branch information
k8s-ci-robot authored Dec 23, 2024
2 parents 5b1d388 + 443427f commit 170b06a
Show file tree
Hide file tree
Showing 5 changed files with 101 additions and 0 deletions.
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` 特性门控。
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 驱动中设置此状态。
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` 操作设置零值。
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)。
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 分配量来优化某些对缓存敏感的负载的性能。

0 comments on commit 170b06a

Please sign in to comment.