From bf770cc05e4c36dc2a2017ee4a80d55365596214 Mon Sep 17 00:00:00 2001 From: sido Date: Tue, 11 Sep 2018 12:57:40 +0200 Subject: [PATCH] added thresholds to readiness and liveness probes --- molgenis/templates/deployment.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/molgenis/templates/deployment.yaml b/molgenis/templates/deployment.yaml index 2290ad8..f7aa0f0 100644 --- a/molgenis/templates/deployment.yaml +++ b/molgenis/templates/deployment.yaml @@ -53,14 +53,18 @@ spec: httpGet: path: / port: 8080 - initialDelaySeconds: 180 + initialDelaySeconds: 60 periodSeconds: 5 + failureThreshold: 15 + successThreshold: 1 readinessProbe: httpGet: path: /api/v2/version port: 8080 - initialDelaySeconds: 180 - periodSeconds: 5 + initialDelaySeconds: 120 + periodSeconds: 30 + failureThreshold: 3 + successThreshold: 1 resources: {{ toYaml .resources | indent 12 }} {{- end }}