summaryrefslogtreecommitdiff
path: root/sentinel.conf
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2020-03-16 13:48:29 +0100
committerantirez <antirez@gmail.com>2020-03-16 13:48:29 +0100
commit8609e681614f29da43209603f6dfbcd58e1b490d (patch)
treee9f8a4668d39b5a9ff5b8f4e5f7ca57b4c6a79b9 /sentinel.conf
parent573c4673eec95ca7d92d1a47f1461c3621b15f90 (diff)
downloadredis-8609e681614f29da43209603f6dfbcd58e1b490d.tar.gz
Example sentinel conf: document requirepass.
Diffstat (limited to 'sentinel.conf')
-rw-r--r--sentinel.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/sentinel.conf b/sentinel.conf
index bc9a705ac..796f45088 100644
--- a/sentinel.conf
+++ b/sentinel.conf
@@ -112,6 +112,14 @@ sentinel monitor mymaster 127.0.0.1 6379 2
# Default is 30 seconds.
sentinel down-after-milliseconds mymaster 30000
+# requirepass <password>
+#
+# You can configure Sentinel itself to require a password, however when doing
+# so Sentinel will try to authenticate with the same password to all the
+# other Sentinels. So you need to configure all your Sentinels in a given
+# group with the same "requirepass" password. Check the following documentation
+# for more info: https://redis.io/topics/sentinel
+
# sentinel parallel-syncs <master-name> <numreplicas>
#
# How many replicas we can reconfigure to point to the new replica simultaneously