简体   繁体   中英

Can Assign two Pods in Replication Controller to the two Different Nodes on Kubernetes?

我的Replication Controller配置文件中定义了两个容器,副本的值为1,是否可以将两个Pod分配给两个不同的节点?

When you define two containers in a single Pod, they will always be co-scheduled onto the same node (regardless of whether you define the Pod directly or via a Replication Controller). The number of replicas for the Replication Controller is the number of Pods to run (not the number of containers).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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