项目作者: willstudy

项目描述 :
Redis HA Cluster Boot script
高级语言: Go
项目地址: git://github.com/willstudy/redis-executor.git
创建时间: 2018-01-27T06:35:23Z
项目社区:https://github.com/willstudy/redis-executor

开源协议:

下载


redis-executor

Setup a HA redis cluster by redis-executor.

Build

  1. make build-redis-executor

Built though by docker container.

Run

  1. redis-executor server -l ${DEBUG_LEVEL} \
  2. --configFile /etc/redis/redis-executor.conf

Result

We can using redis-executor to lanuch a HA redis cluster, redis-executor will setup as a Appropriate roles:

  • redis master
  • redis slave
  • redis sentinel (using environmental variable SENTINEL=true)

It is more robust than https://github.com/kubernetes/kubernetes/blob/master/examples/storage/redis/image/run.sh.