From 316266de043aae2b59598aa322ad51c8ec3aa966 Mon Sep 17 00:00:00 2001 From: James Drummond Date: Thu, 11 Jan 2018 17:19:42 +0000 Subject: [PATCH] Openshift ocp fails due to livenessProbe. The livenessProbe's failureThreshold is set to low. This causes the livenessProbe having to short a period of probing before it fails and removes the container. The failureThreshold is set to 4, the initialDelaySeconds is set to 5 and the periodSeconds is 5. This means 5s+4x5s=25s before the container fails. This patch set failureThreshold higher to 11 allowing for a more reasonable overall probe time of 60s (5s+11x5s=60s) before fails and removes the container. Signed-off-by: James Drummond --- .../files/scripts/multi-user/keycloak/deployment-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dockerfiles/init/modules/openshift/files/scripts/multi-user/keycloak/deployment-config.yaml b/dockerfiles/init/modules/openshift/files/scripts/multi-user/keycloak/deployment-config.yaml index 325724aa409..e0c731d6b71 100644 --- a/dockerfiles/init/modules/openshift/files/scripts/multi-user/keycloak/deployment-config.yaml +++ b/dockerfiles/init/modules/openshift/files/scripts/multi-user/keycloak/deployment-config.yaml @@ -39,7 +39,7 @@ spec: image: ' ' name: keycloak livenessProbe: - failureThreshold: 4 + failureThreshold: 11 initialDelaySeconds: 5 periodSeconds: 5 successThreshold: 1