Skip to content

Commit 35627af

Browse files
authored
Merge pull request #49650 from Eason1118/lwj_dev
[zh-cn] sync manage-resources-containers.md
2 parents 636482c + 6b29e01 commit 35627af

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

content/zh-cn/docs/concepts/configuration/manage-resources-containers.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,13 +379,17 @@ spec:
379379
{{< feature-state feature_gate_name="PodLevelResources" >}}
380380
381381
<!--
382+
This feature can be enabled by setting the `PodLevelResources`
383+
[feature gate](/docs/reference/command-line-tools-reference/feature-gates).
382384
The following Pod has an explicit request of 1 CPU and 100 MiB of memory, and an
383385
explicit limit of 1 CPU and 200 MiB of memory. The `pod-resources-demo-ctr-1`
384386
container has explicit requests and limits set. However, the
385387
`pod-resources-demo-ctr-2` container will simply share the resources available
386388
within the Pod resource boundaries, as it does not have explicit requests and limits
387389
set.
388390
-->
391+
此特性可以通过设置 `PodLevelResources`
392+
[特性门控](/zh-cn/docs/reference/command-line-tools-reference/feature-gates)来启用。
389393
以下 Pod 明确请求了 1 个 CPU 和 100 MiB 的内存,并设置了明确的限制为 1 个 CPU 和 200 MiB 的内存。
390394
`pod-resources-demo-ctr-1` 容器设置了明确的资源请求和限制。然而,`pod-resources-demo-ctr-2`
391395
容器没有设置明确的资源请求和限制,因此它将共享 Pod 资源边界内的可用资源。

0 commit comments

Comments
 (0)