I’m trying to figure out how to set up replicas across availability zones.
It seems to me that setting the --replicas
flag automatically determines what group a node is in.
Ideally, replicas would be spread across availability zones so that if a zone goes down the replica in another zone is still running. From what I can tell, if I have 6 nodes with replicas set to 3 (2 groups), it is possible for all 3 replicas of a single group to end up in a single availability zone.
Is there any mechanism for pinning a group to a node?
Is there some way an alpha node is be able to specify to the zeros what zone it’s in?