Giter VIP home page Giter VIP logo

redis-k8s's Introduction

redis-k8s

Redis cluster setup for Kubernetes using Debian Jessie.

Usage

kubectl create -f redis.yaml

Note

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-k8s's People

Contributors

sporkmonger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

redis-k8s's Issues

Stuck in pending state

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.

i playing with your yaml on kubernetes 1.6

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.