docker-development-youtube-series
docker-development-youtube-series copied to clipboard
Redis Kubernetes: Redis connecting to slave instead of master
When connecting to Redis from code or cli (from a different pod) using redis://redis
as the host/url, it connecting to slave
instead of master
. This causes READONLY You can't write against a read only replica
error. Any idea how to solve the issue? How does the DNS resolver knows the master
's ip?