Skip to content

master and its corresponding replica are running on the same AZ #152

Description

@doronl

Hi @NataliAharoniPayu ,

the is a cluster with 3 master and 3 replica nodes:

This is the output of the CLUSTER NODES command:

7a00b8761583afefffd2767a0dfc56ff17ba6da0 20.3.36.217:6379@16379 master - 0 1659388528000 3 connected 10923-16383
7829e21e0f8386b6d3a7cb6fd5ff9c46c6d50df7 20.3.37.165:6379@16379 myself,master - 0 1659388527000 1 connected 0-5460
6171e36f1228fc75b625c83fef9579010ab3e80b 20.3.35.205:6379@16379 master - 0 1659388529508 2 connected 5461-10922
60ea4fc49f2d8c4f339452a767ad9e99f087323c 20.3.35.117:6379@16379 slave 7a00b8761583afefffd2767a0dfc56ff17ba6da0 0 1659388528000 3 connected
4d5c9085df50208baf20d8c50c79ef7cbcd911c6 20.3.37.19:6379@16379 slave 7829e21e0f8386b6d3a7cb6fd5ff9c46c6d50df7 0 1659388528501 1 connected
09e3f8b5b3706912ffa9c6b87270692ceca24e36 20.3.36.87:6379@16379 slave 6171e36f1228fc75b625c83fef9579010ab3e80b 0 1659388528000 2 connected

This the result of script that I run to find out where (in Azure in this case) each pod is running (format pod:podIP node node-AZ)

redis-node-0:20.3.35.19 aks-redcac-27410863-vmss000005 eastus-3
redis-node-0-1:20.3.34.39 aks-redcac-27410863-vmss000003 eastus-1
redis-node-1:20.3.33.59 aks-redcac-27410863-vmss000000 eastus-1
redis-node-1-1:20.3.34.142 aks-redcac-27410863-vmss000004 eastus-2
redis-node-2:20.3.33.72 aks-redcac-27410863-vmss000001 eastus-2
redis-node-2-1:20.3.33.173 aks-redcac-27410863-vmss000002 eastus-3

Attached operator logs

(BTW, I have a 2nd cluster in another namespace that is running correctly)

operator.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions