Wrong ip when setting up Redis cluster on Kubernetes "Waiting for the cluster to join..." Wrong ip when setting up Redis cluster on Kubernetes "Waiting for the cluster to join..." kubernetes kubernetes

Wrong ip when setting up Redis cluster on Kubernetes "Waiting for the cluster to join..."


You can use statefulsets for deploying your replicas, so your pod will have a unique name always.

Moreover, you will be able to use service DNS-names as host. See this official doc DNS for Services and Pods.

The second example you shared, has another part for redis cluster using statefulsets. Try that out.