Skip to content

Commit 84c0b93

Browse files
authored
Merge pull request #37332 from gaogao101/work11
[zh] Update memory-default-namespace.md
2 parents d72c98a + 333d9c1 commit 84c0b93

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

content/zh-cn/docs/tasks/administer-cluster/manage-resources/memory-default-namespace.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,18 @@ resources:
247247
memory: 128Mi
248248
```
249249

250+
{{< note >}}
251+
<!--
252+
A `LimitRange` does **not** check the consistency of the default values it applies. This means that a default value for the _limit_ that is set by `LimitRange` may be less than the _request_ value specified for the container in the spec that a client submits to the API server. If that happens, the final Pod will not be scheduleable.
253+
See [Constraints on resource limits and requests](/docs/concepts/policy/limit-range/#constraints-on-resource-limits-and-requests) for more details.
254+
-->
255+
`LimitRange` **不会**去检查它所应用的默认值的一致性。这意味着由 `LimitRange`
256+
设置的 limit 的默认值可能小于客户端提交给 API 服务器的规约中为容器指定的请求值。
257+
如果发生这种情况,最终的 Pod 将无法被调度。
258+
更多的相关信息细节,请参考[对资源限制和请求的约束](/zh-cn/docs/concepts/policy/limit-range/)
259+
{{< /note >}}
260+
261+
250262
<!--
251263
## Motivation for default memory limits and requests
252264

0 commit comments

Comments
 (0)