Skip to content

mathieuancelin/otoroshi-redis-sentinels-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Otoroshi with Redis Sentinels

You will need docker, docker-compose, curl and a JDK 11

Setup

git clone https://github.com/mathieuancelin/otoroshi-redis-sentinels-example.git
cd otoroshi-redis-sentinels-example

Run the test

in a new bash session

sh ./run.sh

Test it

curl http://127.0.0.1:8080/metrics
open http://otoroshi.oto.tools:8080 # login with [email protected] / password

Debug

docker run -it --rm redis redis-cli -h my-ip-address -p 6401 info | grep role
docker run -it --rm redis redis-cli -h my-ip-address -p 26401 SENTINEL get-master-addr-by-name my_redis_master

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages