2回答
- 新しい順
- 投票が多い順
- コメントが多い順
0
Thanks, EFS is not an option - only EBS. These applications are actually statefulsets but how does that guarantee the 3 pods will be spread accross each AZ ? Unfortunatly I don't have an EKS cluster to test at the moment.
回答済み 5ヶ月前
0
Topology spread constraints is a good way to ensure that pods does not start in same zone or same host ( based on the constraints definition) However one approach in the usecase could be use to statefulsets[1].
You are right, if you add topology constraint "topologyKey: "topology.kubernetes.io/zone" it will schedule both the pods in different AZs ( based on AZs defined in the cluster)
関連するコンテンツ
- 質問済み 6年前
Topolgy constraints uses the EKS provided node labels to identify the AZs of the worker nodes and thus schedules the pod on different AZs. Hope this helps in clarifying. https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/