[英]How to control numbers of container running inside Job on kubernetes
I've one Job that has 500 containers, each container run a different file.我有一个有 500 个容器的作业,每个容器运行一个不同的文件。 But I'm try to execute 10 containers by time, but the parallelism is for the pod and not the containers.
但我尝试按时间执行 10 个容器,但并行性是针对 pod 而不是容器。
Is there any way to control the parallelism in containers levels?有什么方法可以控制容器级别的并行性?
Pods are the smallest deployable units of computing that you can create and manage in Kubernetes.
Pod 是您可以在 Kubernetes 中创建和管理的最小可部署计算单元。
So, the answer is no.所以,答案是否定的。
https://kubernetes.io/docs/concepts/workloads/pods/ https://kubernetes.io/docs/concepts/workloads/pods/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.