Commit 810b4096 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #45874 from sanderploegsma/patch-1

Automatic merge from submit-queue (batch tested with PRs 45884, 45879, 45912, 45444, 45874) fix: typo in redis example **What this PR does / why we need it**: The `bind 0.0.0.0` rule should end up in the sentinel config, not the script output. **Special notes for your reviewer**: **Release note**: ```release-note ```
parents 1a2076aa f21ee1a6
...@@ -45,7 +45,7 @@ function launchsentinel() { ...@@ -45,7 +45,7 @@ function launchsentinel() {
echo "sentinel down-after-milliseconds mymaster 60000" >> ${sentinel_conf} echo "sentinel down-after-milliseconds mymaster 60000" >> ${sentinel_conf}
echo "sentinel failover-timeout mymaster 180000" >> ${sentinel_conf} echo "sentinel failover-timeout mymaster 180000" >> ${sentinel_conf}
echo "sentinel parallel-syncs mymaster 1" >> ${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 redis-sentinel ${sentinel_conf} --protected-mode no
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment