Add liveness and readiness probes values for mongodb helm chart to fix pod startup 51/14651/1
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Sat, 19 Oct 2024 12:20:41 +0000 (14:20 +0200)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Sat, 19 Oct 2024 12:21:22 +0000 (14:21 +0200)
Change-Id: I236f3d7b4640311ee935b34a1fb123a2b0c89ece
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
installers/helm/values/mongodb-values.yaml

index 41ef151..e54355b 100644 (file)
@@ -16,4 +16,17 @@ service:
   nameOverride: "mongodb-k8s"
 auth:
   enabled: false
-architecture: "replicaset"
\ No newline at end of file
+architecture: "replicaset"
+livenessProbe:
+  initialDelaySeconds: 60
+  periodSeconds: 30
+  timeoutSeconds: 10
+  failureThreshold: 10
+  successThreshold: 1
+readinessProbe:
+  initialDelaySeconds: 60
+  periodSeconds: 30
+  timeoutSeconds: 10
+  failureThreshold: 10
+  successThreshold: 1
+