From fbf47d81c3c25645d3a28b1d98312e16e62d2fcc Mon Sep 17 00:00:00 2001 From: wmuldergov <126018319+wmuldergov@users.noreply.github.com> Date: Mon, 27 May 2024 16:07:39 -0700 Subject: [PATCH] DBC22-2246: Update liveness probe (#475) --- infrastructure/_tasks/templates/tasks-deployment.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/infrastructure/_tasks/templates/tasks-deployment.yaml b/infrastructure/_tasks/templates/tasks-deployment.yaml index 80f75bac..81646e32 100644 --- a/infrastructure/_tasks/templates/tasks-deployment.yaml +++ b/infrastructure/_tasks/templates/tasks-deployment.yaml @@ -97,9 +97,14 @@ spec: livenessProbe: exec: command: - - python manage.py huey_health_check - initialDelaySeconds: 30 + - /bin/bash + - '-c' + - python manage.py huey_health_check + initialDelaySeconds: 60 + timeoutSeconds: 5 periodSeconds: 60 + successThreshold: 1 + failureThreshold: 3 securityContext: seccompProfile: type: RuntimeDefault