[CASSANDRA] Adjust the probe timeouts for Stargate 89/135489/1
authorAndreas Geissler <andreas-geissler@telekom.de>
Tue, 18 Jul 2023 07:10:50 +0000 (09:10 +0200)
committerAndreas Geissler <andreas-geissler@telekom.de>
Tue, 18 Jul 2023 07:10:50 +0000 (09:10 +0200)
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

kubernetes/common/common/templates/_cassOp.tpl

index f1fc75c..6cf9c3c 100644 (file)
@@ -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: