blue-kitchen-51801
05/23/2023, 7:42 AMfaint-sunset-36608
05/23/2023, 2:29 PMReplica Node Level Soft Anti-Affinity
or set it to true (https://longhorn.io/docs/1.4.2/references/settings/#replica-node-level-soft-anti-affinity) to get multiple replicas to schedule to the same node. Once you get past this restriction in the "node and zone selection stage" our documentation doesn't make any clear guarantee that both replicas won't schedule to the same disk in the "disk selection stage". We might have to experiment a bit. See the scheduling policy for more detailed information (https://longhorn.io/docs/1.4.2/volumes-and-nodes/scheduling/).blue-kitchen-51801
05/23/2023, 2:31 PMfaint-sunset-36608
05/23/2023, 2:33 PMblue-kitchen-51801
05/23/2023, 2:35 PMReplica Node Level Soft Anti-Affinity
allow the replicas to be scheduled on the same node, but not on different disksfaint-sunset-36608
05/23/2023, 2:37 PMblue-kitchen-51801
05/23/2023, 2:37 PMReplica Node Level Soft Anti-Affinity
so we get HA in a few clicksfaint-sunset-36608
05/23/2023, 2:44 PMblue-kitchen-51801
05/23/2023, 2:49 PMReplica Node Level Soft Anti-Affinity
, instead of scheduling on different nodes we can schedule on different disksfaint-sunset-36608
05/23/2023, 3:06 PMblue-kitchen-51801
05/23/2023, 3:06 PMReplica Disk Level Soft Anti-Affinity
enabled by default as it’s a big risk to have two replicas on the same disk and also it doesn’t provide any value..