问题描述
我想控制同一有状态集的各个Pod的节点相似性。说,我在3个节点的云上有一个群集,每个节点都属于一个不同的区域。我的statefulset资源具有6个副本,需要遵循以下约束。
1. distribute pods such that each node gets 2 replicas always.
2. If one node gets down,the 2 pods running on it should not get rescheduled on other nodes and be in Pending state.
3. When that down node comes up,those 2 pending pods should come back on it.
Is there a way to achieve it?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)