Skip to content
Merged
2 changes: 1 addition & 1 deletion charts/redis-ha/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ keywords:
- redis
- keyvalue
- database
version: 4.35.3
version: 4.35.4
appVersion: 8.2.2
description: This Helm chart provides a highly available Redis implementation with a master/slave configuration and uses Sentinel sidecars for failover management
icon: https://img.icons8.com/external-tal-revivo-shadow-tal-revivo/24/external-redis-an-in-memory-data-structure-project-implementing-a-distributed-logo-shadow-tal-revivo.png
Expand Down
2 changes: 2 additions & 0 deletions charts/redis-ha/templates/redis-ha-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,8 @@ spec:
- name: split-brain-fix
image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
livenessProbe: {{ .Values.splitBrainDetection.livenessProbe | toYaml | nindent 10 }}
readinessProbe: {{ .Values.splitBrainDetection.readinessProbe | toYaml | nindent 10 }}
resources: {{ toYaml .Values.splitBrainDetection.resources | nindent 10 }}
command:
- sh
Expand Down
34 changes: 34 additions & 0 deletions charts/redis-ha/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1062,3 +1062,37 @@ splitBrainDetection:
retryInterval: 10
# -- splitBrainDetection resources
resources: {}
# liveness probe parameters for split brain container
livenessProbe:
# -- Initial delay in seconds for liveness probe
initialDelaySeconds: 30
# -- Period in seconds after which liveness probe will be repeated
periodSeconds: 15
# -- Timeout seconds for liveness probe
timeoutSeconds: 15
# -- Success threshold for liveness probe
successThreshold: 1
# -- Failure threshold for liveness probe
failureThreshold: 5
exec:
command:
- cat
- /readonly-config/redis.conf

# readiness probe parameters for split brain container
readinessProbe:
# -- Initial delay in seconds for readiness probe
initialDelaySeconds: 30
# -- Period in seconds after which readiness probe will be repeated
periodSeconds: 15
# -- Timeout seconds for readiness probe
timeoutSeconds: 15
# -- Success threshold for readiness probe
successThreshold: 1
# -- Failure threshold for readiness probe
failureThreshold: 5
exec:
command:
- pgrep
- -f
- fix-split-brain.sh
Loading