From 561826cfabf684beecad3d7ed1d48cc4e24c7410 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bompard?= Date: Mon, 21 Nov 2022 17:59:02 +0100 Subject: [PATCH] FMN: update the liveness & readiness checks for the API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Aurélien Bompard --- roles/openshift-apps/fmn/templates/deploymentconfig.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/openshift-apps/fmn/templates/deploymentconfig.yml b/roles/openshift-apps/fmn/templates/deploymentconfig.yml index 21d9f27f58..63d52ae2d5 100644 --- a/roles/openshift-apps/fmn/templates/deploymentconfig.yml +++ b/roles/openshift-apps/fmn/templates/deploymentconfig.yml @@ -129,13 +129,13 @@ spec: timeoutSeconds: 1 initialDelaySeconds: 5 httpGet: - path: / + path: /api/v1/heathz/ready port: 8080 livenessProbe: timeoutSeconds: 1 initialDelaySeconds: 20 httpGet: - path: / + path: /api/v1/heathz/live port: 8080 volumes: @@ -182,7 +182,7 @@ spec: recreateParams: mid: execNewPod: - command: [ /opt/app-root/bin/fmn, database, migration, upgrade ] + command: [/opt/app-root/bin/fmn, database, migration, upgrade] containerName: consumer volumes: - etc-fmn