Skip to content

Commit 31e0171

Browse files
authored
Merge pull request #191 from manisha-tanwar/patch-2
Add redis.staticID feature to allow constant sentinel ids
2 parents 89be5cd + c6154d1 commit 31e0171

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Changelog
22

33
## In Development
4-
4+
* Updated redis constant sentinel ID which will allow other sentinel peers to update to the new given IP in case of pod failure or worker node reboots. (#191) (by @manisha-tanwar)
55

66
## v0.60.0
77
* Switch st2 version to `v3.5dev` as a new latest development version (#187)

values.yaml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -540,13 +540,17 @@ redis:
540540
# We just need replica count here to ensure it is HA
541541
cluster:
542542
slaveCount: 3
543-
# ## Sentinel settings. Sentinel is enabled for better resiliency.
544-
# ## This is highly recommended as per tooz library documentation.
545-
# ## Hence, the chart requires the setting.
546-
# ## https://docs.openstack.org/tooz/latest/user/drivers.html#redis
547-
# ## https://github.com/bitnami/charts/tree/master/bitnami/redis#master-slave-with-sentinel
543+
# Sentinel settings. Sentinel is enabled for better resiliency.
544+
# This is highly recommended as per tooz library documentation.
545+
# Hence, the chart requires the setting.
546+
# https://docs.openstack.org/tooz/latest/user/drivers.html#redis
547+
# https://github.com/bitnami/charts/tree/master/bitnami/redis#master-slave-with-sentinel
548548
sentinel:
549549
enabled: true
550+
# Enable or disable static sentinel IDs for each replicas
551+
# If disabled each sentinel will generate a random id at startup
552+
# If enabled, each replicas will have a constant ID on each start-up
553+
staticID: true
550554
networkPolicy:
551555
enabled: false
552556
usePassword: false

0 commit comments

Comments
 (0)