From 721d30875a207adeab0dd0bab4c317af120afd3d Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mon, 12 Feb 2024 17:30:20 -0800 Subject: [PATCH] bodhi: change liveness probes to hopefully avoid restarting pods Signed-off-by: Kevin Fenzi --- roles/openshift-apps/bodhi/templates/deploymentconfig.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/roles/openshift-apps/bodhi/templates/deploymentconfig.yml b/roles/openshift-apps/bodhi/templates/deploymentconfig.yml index 745b64b2fe..6b71ab118c 100644 --- a/roles/openshift-apps/bodhi/templates/deploymentconfig.yml +++ b/roles/openshift-apps/bodhi/templates/deploymentconfig.yml @@ -84,9 +84,10 @@ items: path: /healthz/ready port: 8080 livenessProbe: - timeoutSeconds: 15 + timeoutSeconds: 60s initialDelaySeconds: 30 - periodSeconds: 60 + periodSeconds: 120s + failureThreshold: 5 httpGet: path: /healthz/live port: 8080