[英]It's possible to create pods with different resources limit in one deployment?
it's possible to create one deployment with four pods, each pod is identical to each other except the memory limit of their containers. 可以创建一个包含四个Pod的部署,每个Pod除了容器的内存限制外彼此相同。
If it can be done, how is the yaml file look like. 如果可以的话,yaml文件的外观如何。
This is not possible with a single deployment. 单个部署是不可能的。
You can reach a similar effect by creating multiple deployments. 通过创建多个部署,您可以达到类似的效果。
A deployment specifies the template of a single Pod. 部署指定单个Pod的模板。 You cannot define multiple Pods in a single deployment
您不能在单个部署中定义多个Pod
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.