Merge "[CASSANDRA] Adjust the probe timeouts for Stargate"
authorAndreas Geissler <andreas-geissler@telekom.de>
Tue, 18 Jul 2023 11:19:10 +0000 (11:19 +0000)
committerGerrit Code Review <gerrit@onap.org>
Tue, 18 Jul 2023 11:19:10 +0000 (11:19 +0000)
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: