It has been found that if you start this docker image on machine A and then trying to connect to the redis instances from machine B then RedisCluster can't talk to all nodes in the cluster becuase CLUSTER SLOTS will tell the client that it should talk to 127.0.0.1 but there is no instance on that IP:PORT.
The one known solution from the client side is to provide the entire clusters IP:PORTs in startup_nodes and set init_slot_cache=False and the client should be able to talk to all nodes.
One solution that can be done in this repo is to remake the repo to work with 6 docker images and connect them externally with so it will connect with the correct IP addresses.
It has been found that if you start this docker image on machine
Aand then trying to connect to the redis instances from machineBthenRedisClustercan't talk to all nodes in the cluster becuaseCLUSTER SLOTSwill tell the client that it should talk to127.0.0.1but there is no instance on that IP:PORT.The one known solution from the client side is to provide the entire clusters IP:PORTs in
startup_nodesand setinit_slot_cache=Falseand the client should be able to talk to all nodes.One solution that can be done in this repo is to remake the repo to work with 6 docker images and connect them externally with so it will connect with the correct IP addresses.