The most simple way to create a Redis Cluster with Docker compose. For a general guide, please refer to How to Deploy Containerized Redis Cluster.
Creating Redis Cluster with 3 masters and 3 slaves.
sudo make all
Testing failover.
sudo make failover
Adding a new master.
sudo make new-master
Adding a new slave.
sudo make new-slave
Checking cluster status.
sudo make check-cluster
Viewing all logs.
sudo make logs
More commands, please refer to Makefile.
William
MIT License