mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 22:17:14 +00:00
fix: typo in redis example
The `bind 0.0.0.0` rule should end up in the sentinel config, not the script output.
This commit is contained in:
parent
15a8ab33b8
commit
f21ee1a6a8
@ -45,7 +45,7 @@ function launchsentinel() {
|
||||
echo "sentinel down-after-milliseconds mymaster 60000" >> ${sentinel_conf}
|
||||
echo "sentinel failover-timeout mymaster 180000" >> ${sentinel_conf}
|
||||
echo "sentinel parallel-syncs mymaster 1" >> ${sentinel_conf}
|
||||
echo "bind 0.0.0.0"
|
||||
echo "bind 0.0.0.0" >> ${sentinel_conf}
|
||||
|
||||
redis-sentinel ${sentinel_conf} --protected-mode no
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user