File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
content/zh-cn/docs/concepts/configuration Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -379,13 +379,17 @@ spec:
379
379
{{< feature-state feature_gate_name="PodLevelResources" >}}
380
380
381
381
<!--
382
+ This feature can be enabled by setting the ` PodLevelResources`
383
+ [feature gate](/docs/reference/command-line-tools-reference/feature-gates).
382
384
The following Pod has an explicit request of 1 CPU and 100 MiB of memory, and an
383
385
explicit limit of 1 CPU and 200 MiB of memory. The `pod-resources-demo-ctr-1`
384
386
container has explicit requests and limits set. However, the
385
387
` pod-resources-demo-ctr-2` container will simply share the resources available
386
388
within the Pod resource boundaries, as it does not have explicit requests and limits
387
389
set.
388
390
-->
391
+ 此特性可以通过设置 `PodLevelResources`
392
+ [特性门控](/zh-cn/docs/reference/command-line-tools-reference/feature-gates)来启用。
389
393
以下 Pod 明确请求了 1 个 CPU 和 100 MiB 的内存,并设置了明确的限制为 1 个 CPU 和 200 MiB 的内存。
390
394
` pod-resources-demo-ctr-1` 容器设置了明确的资源请求和限制。然而,`pod-resources-demo-ctr-2`
391
395
容器没有设置明确的资源请求和限制,因此它将共享 Pod 资源边界内的可用资源。
You can’t perform that action at this time.
0 commit comments