Watch 1 Star 1 Fork 0

feiyu563 / kubernetes-codisShell

Join us
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
在kubernetes上部署codis集群,HA redis-sentinel,持久化存储 spread retract

Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

根据codis官方优化来的,取消了官方的HA,使用redis-sentinel来保证HA,采用持久化存储,使用前先创建好storageclass 集群开启了密码保护,默认链接redis密码123

创建和删除集群

Build one codis cluster (codis master server has one slave)

$ sh start.sh create

Clean up the codis cluster

$ sh start.sh delete

Scale codis cluster proxy

$ sh start.sh scale-proxy $(number)

Scale codis cluster server

$ sh start.sh scale-server $(number)

Comments ( 0 )

Sign in for post a comment

Shell
1
https://gitee.com/feiyu563/kubernetes-codis.git
git@gitee.com:feiyu563/kubernetes-codis.git
feiyu563
kubernetes-codis
kubernetes-codis
master

Help Search