Skip to content

PKaelin/redistest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Redis Test

For simplicity of troubleshooting Redis & Redis Sentinel two docker compose files were created for each to run on a single node.

Setup services

  • One Redis master
  • Two Redis slaves
  • Three Redis sentinels

Setup network

For simplicity an IPAM network was created with a subnet and an IP range for services with dynamic IP's

File: docker-compose-IP-Addresses.yaml

This docker compose definition runs without any problems.

File: docker-compose-Host-Names.yaml

This docker compose definition is supposed to resolve hostnames which it kind of does till you shut down the master or a sentinel. It then goes into tilt mode and doesn't fail over even when tilt timeout is increased so any adjustments to the name service would be not fruitful.

About

Redis & Redis Sentinel docker compose files for trouble shooting

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors