GithubHelp home page GithubHelp logo

qianlifu12345 / redis-ha Goto Github PK

View Code? Open in Web Editor NEW

This project forked from smile-sa/redis-ha

0.0 2.0 0.0 31 KB

Special Redis with master/sentinel for Kubernetes and OpenShift

License: MIT License

Shell 100.00%

redis-ha's Introduction

Redis Master, Slaves, Sentinels Statefulset Docker image

To be able to launch master, slave and sentinels in Kubernetes or OpenShift, we previously need to start a master, then slaves and sentinels, and to remove the master.

That image is able to startup in Statefulset mode.

The first redis server that starts is the Master. Others will be slaves. If master pod is down, so Sentinels elect an new Master.

That image can be used with Redis-Ellison: https://github.com/metal3d/redis-ellison

See that is an example of making that image working as Statefulset.

Rule them all with Ellison

Ellison is a project built by a Smile Lab temate, it's a proxy that allows usage of redis without the need of using Sentinels requests to find the master.

Simply give to Ellison the name of you Redis-HA service that is in the example project.yml

redis-ha's People

Contributors

metal3d avatar

Watchers

 avatar  avatar

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.