Skip to content

Commit 6243317

Browse files
authored
Merge pull request #33367 from kinzhi/kinzhi73
[zh]Update content/zh/docs/concepts/configuration/manage-resources-containers.md
2 parents c531271 + 15b9ef0 commit 6243317

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

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

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -92,15 +92,13 @@ runtimes can have different ways to implement the same restrictions.
9292

9393
{{< note >}}
9494
<!--
95-
If a container specifies its own memory limit, but does not specify a memory request, Kubernetes
96-
automatically assigns a memory request that matches the limit. Similarly, if a container specifies its own
97-
CPU limit, but does not specify a CPU request, Kubernetes automatically assigns a CPU request that matches
98-
the limit.
99-
-->
100-
如果某容器设置了自己的内存限制但未设置内存请求,Kubernetes
101-
自动为其设置与内存限制相匹配的请求值。类似的,如果某 Container 设置了
102-
CPU 限制值但未设置 CPU 请求值,则 Kubernetes 自动为其设置 CPU
103-
请求并使之与 CPU 限制值匹配。
95+
If you specify a limit for a resource, but do not specify any request, and no admission-time
96+
mechanism has applied a default request for that resource, then Kubernetes copies the limit
97+
you specified and uses it as the requested value for the resource.
98+
-->
99+
如果你为某个资源指定了限制,但不指定请求,
100+
并且没有应用准入时机制为该资源设置默认请求,
101+
然后 Kubernetes 复制你所指定的限制值,将其用作资源的请求值。
104102
{{< /note >}}
105103

106104
<!--

0 commit comments

Comments
 (0)