aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
authorAndreas Geissler <andreas-geissler@telekom.de>2023-07-18 09:10:50 +0200
committerAndreas Geissler <andreas-geissler@telekom.de>2023-07-18 09:10:50 +0200
commit6b4841044780d24a7667f8328bea7b0f07c8d1ae (patch)
treef8ba7f436dffaa14f65939f789ca23cd84ef78d4 /kubernetes
parente5f9156814f2571b0f4b79a4ba5789b743d837db (diff)
[CASSANDRA] Adjust the probe timeouts for Stargate
The timeouts for Stargate are too small for a proper startup Issue-ID: OOM-3226 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: I3235a1022d9c5380d3110c62e42a6f62cc13f001
Diffstat (limited to 'kubernetes')
-rw-r--r--kubernetes/common/common/templates/_cassOp.tpl12
1 files changed, 12 insertions, 0 deletions
diff --git a/kubernetes/common/common/templates/_cassOp.tpl b/kubernetes/common/common/templates/_cassOp.tpl
index f1fc75c5e5..6cf9c3ce7e 100644
--- a/kubernetes/common/common/templates/_cassOp.tpl
+++ b/kubernetes/common/common/templates/_cassOp.tpl
@@ -19,6 +19,18 @@ spec:
tag: {{ .Values.k8ssandraOperator.stargate.tag }}
size: {{ .Values.k8ssandraOperator.stargate.size }}
heapSize: {{ .Values.k8ssandraOperator.stargate.jvmOptions.heapSize }}
+ livenessProbe:
+ initialDelaySeconds: 200
+ periodSeconds: 10
+ failureThreshold: 20
+ successThreshold: 1
+ timeoutSeconds: 20
+ readinessProbe:
+ initialDelaySeconds: 200
+ periodSeconds: 10
+ failureThreshold: 20
+ successThreshold: 1
+ timeoutSeconds: 20
cassandra:
serverVersion: {{ .Values.k8ssandraOperator.cassandraVersion }}
storageConfig: