summaryrefslogtreecommitdiffstats
path: root/kubernetes/portal/components/portal-cassandra/templates
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-02-24 10:40:15 +0100
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-02-24 10:40:15 +0100
commit226cbaeccc83c0152c74694036c0c0428debffb2 (patch)
tree193dd9e7c21e85de3236588865152843285d8f19 /kubernetes/portal/components/portal-cassandra/templates
parent25a3d1fa0031c7e2bc5c053d8ca926cc2c8c35ea (diff)
[CASSANDRA] Loosen probe check time
As for main cassandra chart, with Azure and also some internal deployments, `nodepool status` takes more than 3 seconds and so cassandra is not coming up or quite randomly. This patch gives more room to `nodepool status` to answer. Issue-ID: OOM-2687 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: If6a148a432ed3d83a1e89d38f20fe87e89ab0f57
Diffstat (limited to 'kubernetes/portal/components/portal-cassandra/templates')
-rw-r--r--kubernetes/portal/components/portal-cassandra/templates/deployment.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/kubernetes/portal/components/portal-cassandra/templates/deployment.yaml b/kubernetes/portal/components/portal-cassandra/templates/deployment.yaml
index 20c396fa42..59eace693a 100644
--- a/kubernetes/portal/components/portal-cassandra/templates/deployment.yaml
+++ b/kubernetes/portal/components/portal-cassandra/templates/deployment.yaml
@@ -62,6 +62,7 @@ spec:
nodetool status
initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }}
periodSeconds: {{ .Values.liveness.periodSeconds }}
+ timeoutSeconds: {{ .Values.liveness.timeoutSeconds }}
successThreshold: {{ .Values.liveness.successThreshold }}
failureThreshold: {{ .Values.liveness.failureThreshold }}
{{ end }}
@@ -74,6 +75,7 @@ spec:
nodetool status | grep -E "^UN\\s+${POD_IP}"
initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
periodSeconds: {{ .Values.readiness.periodSeconds }}
+ timeoutSeconds: {{ .Values.readiness.timeoutSeconds }}
successThreshold: {{ .Values.readiness.successThreshold }}
failureThreshold: {{ .Values.readiness.failureThreshold }}
lifecycle: