简体   繁体   English

设置kubernetes cpu限制后,容器是否会超出设置的限制

[英]Once kubernetes cpu limit is set, does container get more than the set limit

可以说我已将请求设置为1cpu,限制为4 cpu,一旦容器启动,如果节点有更多cpu可用,容器是否有可能超过4 cpu

No, it is not possible - the limit is "hard". 不,这是不可能的-限制是“硬”的。 Even if there is more CPU resource available, the container will not be allowed to use it. 即使有更多可用的CPU资源,也将不允许容器使用它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM