Redis Cluster Setup step-by-step | The K Academy

Опубликовано: 29 Март 2026
на канале: K Academy
2,054
17

Welcome to The K Academy, your go-to destination for concise and insightful videos.

In this video will setup redis cluster with 6 nodes (3 master and 3 slaves)
You can follow same process in Mac or Windows

Commands and configs can be copied from below

*****Create Folders*****
mkdir cluster-test
cd cluster-test
mkdir 8000 8001 8002 8003 8004 8005

Create Redis Config files

*****Configs:*****
port 8000
cluster-enabled yes
cluster-config-file nodes.conf
cluster-node-timeout 5000
appendonly yes

*****Start Redis Nodes:*****
cd 8000
redis-server ./redis.conf
Repeat same with different node folders

*****Create and Start Cluster:*****
redis-cli --cluster create 127.0.0.1:8000 127.0.0.1:8001 \
127.0.0.1:8002 127.0.0.1:8003 127.0.0.1:8004 127.0.0.1:8005 \
--cluster-replicas 1


TABLE OF CONTENTS
Introduction 00:00
Create Folders
Create Redis Config files
Start Redis nodes
Create and Start Redis Cluster
Subscribe
Thank You

Subscribe to our channel: https://bit.ly/3gch9EE

#tutorial #programming #redis