What i want
I'd like to deploy Redis cluster on kubernetes which is a docker environment.
Description
I am very glad that the NAT feature can be added to Redis:4.0.9, so that i can deploy Redis cluster on docker environment easily. Now Redis client can access Redis server from outside the kubernetes cluster by using cluster-announce-ip and cluster-announce-port.
What's the problem
But Redis nodes also need to communicate with each other by using cluster-announce-ip and cluster-announce-bus-port, which means Redis nodes inside kubernetes cluster need to send PING/PONG packages to outside of the cluster, and then send those packages to inside of the cluster, which i think will cost more time.
My Suggestions
Redis cluster needs to save two sets of IP: one combined with port can be used for Redis client to connect to Redis cluster, another combined with bus port can be used for Redis cluster node to communicate with other Redis cluster nodes. The former IP mainly used for MOVED instruction, which i think will not cause too much change.
Comment From: soloestoy
related to #7460