Redis cluster setup for Kubernetes using Debian Jessie.
kubectl create -f redis.yaml
Redis clusters cannot have fewer than 6 nodes. If you set replicas
to a value lower than 6,
all nodes will stay in master mode and will not join a cluster.
Redis cluster setup for Kubernetes using Debian Jessie.
Hi. I've tried to get this working so far without success. I have k8s v1.4 so modified the StateSets to PetSets & changed the API version, besides that the yaml is untouched. It stays in pending state for several minutes now. Any idea what I should be changing? Logs are clear, I get no data when probing the containers.
CoreOS operators might be a better fit than sidecars, but there are still PetSet/StatefulSet issues.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.