mirror of https://github.com/k3s-io/k3s
fix: typo in redis example
The `bind 0.0.0.0` rule should end up in the sentinel config, not the script output.pull/6/head
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