From 349d8bcaa8fe2ecc4b2f84eaa0dd77d30f706ad6 Mon Sep 17 00:00:00 2001 From: Markus Padourek Date: Tue, 15 Jan 2019 12:34:04 +0100 Subject: [PATCH] [stable/redis-ha] Liveness probe just check instance liveness (#10521) * Simplify sentinel livenessprobe Signed-off-by: globegitter * Bump version Signed-off-by: globegitter * Bump chart version and address comment. Signed-off-by: globegitter --- stable/redis-ha/Chart.yaml | 2 +- stable/redis-ha/templates/redis-ha-statefulset.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/stable/redis-ha/Chart.yaml b/stable/redis-ha/Chart.yaml index 3b7d878385..41163f869c 100644 --- a/stable/redis-ha/Chart.yaml +++ b/stable/redis-ha/Chart.yaml @@ -5,7 +5,7 @@ keywords: - redis - keyvalue - database -version: 3.1.0 +version: 3.1.1 appVersion: 5.0.3 description: Highly available Kubernetes implementation of Redis icon: https://upload.wikimedia.org/wikipedia/en/thumb/6/6b/Redis_Logo.svg/1200px-Redis_Logo.svg.png diff --git a/stable/redis-ha/templates/redis-ha-statefulset.yaml b/stable/redis-ha/templates/redis-ha-statefulset.yaml index 31bdbedb8f..8be330ce0f 100644 --- a/stable/redis-ha/templates/redis-ha-statefulset.yaml +++ b/stable/redis-ha/templates/redis-ha-statefulset.yaml @@ -84,7 +84,7 @@ spec: {{- end }} livenessProbe: exec: - command: [ "sh", "/probes/check-quorum.sh", "{{ .Values.redis.port }}"] + command: [ "sh", "/probes/readiness.sh", "{{ .Values.redis.port }}"] initialDelaySeconds: 15 periodSeconds: 5 readinessProbe: @@ -119,7 +119,7 @@ spec: {{- end }} livenessProbe: exec: - command: [ "sh", "/probes/check-quorum.sh", "{{ .Values.sentinel.port }}"] + command: [ "sh", "/probes/readiness.sh", "{{ .Values.sentinel.port }}"] initialDelaySeconds: 15 periodSeconds: 5 readinessProbe: