I use Caddy with plugin GitHub - pberkel/caddy-storage-redis
With single redis instance all works fine.
Now i’d like to use redis sentinel.
Looks like plagin is ready for it, they have sample for redis sentinel.
But, i was confused that they used redis port 6379 in example.
According to documentation, application should use redis sentinel nodes, receive from them current redis master and use it.
But, how do the Caddy will know if master fail, and sentinel promote new master?
I don’t see how Caddy connects to sentinel in this sample configuration.
May be it is mistake in the config sample, and port should be 26379 ?
Or Caddy may directly ask redis nodes about replication status and remember who is the master?