sporkmonger / redis-k8s

Redis cluster setup for Kubernetes using Debian Jessie.
22 stars 29 forks source link

i playing with your yaml on kubernetes 1.6 #3

Open planktonzp opened 7 years ago

planktonzp commented 7 years ago

it runs normal but i cannot get the others cluster nodes

for a in $(seq 0 6); do kubectl exec -ti redis-$a --namespace=dipper redis-cli cluster nodes; done Defaulting container name to redis. Use 'kubectl describe pod/redis-0' to see all of the containers in this pod. 7e1d4fe27626cd20dc978c53eb6a9cd50b522dd5 :6379 myself,master - 0 0 0 connected Defaulting container name to redis. Use 'kubectl describe pod/redis-1' to see all of the containers in this pod. 833c424629b8acc7183421057878915ac94791bf :6379 myself,master - 0 0 0 connected Defaulting container name to redis. Use 'kubectl describe pod/redis-2' to see all of the containers in this pod. 31c0195481f3314429e222cf4adf60aefecf38ad :6379 myself,master - 0 0 0 connected Defaulting container name to redis. Use 'kubectl describe pod/redis-3' to see all of the containers in this pod. dcbb5682a1c47cc63093308a5b38904e4769366b :6379 myself,master - 0 0 0 connected Defaulting container name to redis. Use 'kubectl describe pod/redis-4' to see all of the containers in this pod. 95e8250641eaedcd5a4a42e048dc3dbb71cd19c7 :6379 myself,master - 0 0 0 connected Defaulting container name to redis. Use 'kubectl describe pod/redis-5' to see all of the containers in this pod. 37d5fcf9d1a5e4e774a34a0871c4f020bcee626b :6379 myself,master - 0 0 0 connected Defaulting container name to redis. Use 'kubectl describe pod/redis-6' to see all of the containers in this pod. 2bc6df26211b063c0b73ee4cde25bffce226507f :6379 myself,master - 0 0 0 connected