sanderploegsma / redis-cluster

Redis Cluster setup running on Kubernetes
https://sanderp.nl/running-redis-cluster-on-kubernetes-e451bda76cad
MIT License
246 stars 132 forks source link

Waiting for the cluster to join(k8s1.10,flannel-v0.10.0) #13

Closed zgjbatyz closed 5 years ago

zgjbatyz commented 5 years ago

Performing hash slots allocation on 6 nodes... Master[0] -> Slots 0 - 5460 Master[1] -> Slots 5461 - 10922 Master[2] -> Slots 10923 - 16383 Adding replica 172.30.6.8:6379 to 172.30.6.7:6379 Adding replica 172.30.8.8:6379 to 172.30.8.10:6379 Adding replica 172.30.5.13:6379 to 172.30.5.14:6379 M: bbbb13673757cca93b8887a4a6372a96c1155345 172.30.6.7:6379 slots:[0-5460] (5461 slots) master M: 4de050ea712c7664def4f8c3f5d5ed1fc9a57278 172.30.8.10:6379 slots:[5461-10922] (5462 slots) master M: c5386ea9cf29b3786b98c2b90d3cceae3873efee 172.30.5.14:6379 slots:[10923-16383] (5461 slots) master S: 6dac6a67c3d39a9d62038d9c2b83f925b9de9a76 172.30.6.8:6379 replicates bbbb13673757cca93b8887a4a6372a96c1155345 S: 649e718cdb5344b956e7a10f0809acfc65634dd8 172.30.8.8:6379 replicates 4de050ea712c7664def4f8c3f5d5ed1fc9a57278 S: 3acc404a36b7f5dcb7184da9144f42a895351845 172.30.5.13:6379 replicates c5386ea9cf29b3786b98c2b90d3cceae3873efee Can I set the above configuration? (type 'yes' to accept): yes Nodes configuration updated Assign a different config epoch to each node Sending CLUSTER MEET messages to join the cluster Waiting for the cluster to join .....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

can't join cluster tks

sanderploegsma commented 5 years ago

Not sure what you want me to do, I've seen it working on Kubernetes 1.10 so as far as I'm concerned this has nothing to do with the Redis Cluster configuration.

zgjbatyz commented 5 years ago

if you use flannel network ,you cannot success.