From b7946ac740fe71331afbbba8fd0a2f8d5590b810 Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Sat, 19 Oct 2024 14:20:41 +0200 Subject: [PATCH] Add liveness and readiness probes values for mongodb helm chart to fix pod startup Change-Id: I236f3d7b4640311ee935b34a1fb123a2b0c89ece Signed-off-by: garciadeblas --- installers/helm/values/mongodb-values.yaml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/installers/helm/values/mongodb-values.yaml b/installers/helm/values/mongodb-values.yaml index 41ef151a..e54355bc 100644 --- a/installers/helm/values/mongodb-values.yaml +++ b/installers/helm/values/mongodb-values.yaml @@ -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 + -- 2.25.1