From df76427ecc23240f44bc61374c941ba7c0eb8799 Mon Sep 17 00:00:00 2001 From: John Rofrano Date: Thu, 29 May 2025 10:05:11 -0400 Subject: [PATCH] Update deployment.yaml Added `LivenessProbe` to deployment --- k8s/deployment.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/k8s/deployment.yaml b/k8s/deployment.yaml index c708fc6..7400663 100644 --- a/k8s/deployment.yaml +++ b/k8s/deployment.yaml @@ -36,11 +36,17 @@ spec: name: postgres-creds key: database_uri readinessProbe: - initialDelaySeconds: 10 + initialDelaySeconds: 30 periodSeconds: 60 httpGet: path: /health port: 8080 + livenessProbe: + initialDelaySeconds: 30 + periodSeconds: 60 + httpGet: + path: /health + port: 8080 resources: limits: cpu: "0.50"