Closed 4n4nd closed 1 year ago
Add logic to check for zones with most available replicas
Resolves #74
Current logic:
Let's assume we have 4 zones and we have a cluster with 3 primaries and 2 replication. So 9 pods will be scheduled across the cluster.
We can see here the operator does not have any other option but to schedule both the pods for Shard-2 in Z3.
New logic:
Step 3: Replica assignment Shard-0
Step 3: Replica assignment Shard-1
Step 4: Replica assignment Shard-2
Sorry for the delay in testing this @4n4nd. I'll try to carve out some time this afternoon to test.
Add logic to check for zones with most available replicas
Resolves #74
Current logic:
Let's assume we have 4 zones and we have a cluster with 3 primaries and 2 replication. So 9 pods will be scheduled across the cluster.
We can see here the operator does not have any other option but to schedule both the pods for Shard-2 in Z3.
New logic:
Step 3: Replica assignment Shard-0
Step 3: Replica assignment Shard-1
Step 4: Replica assignment Shard-2