From 0a56182e5f8dfef38bed99175c768dfa75eb1a73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Trkan?= Date: Mon, 22 Sep 2025 19:45:41 +0200 Subject: [PATCH] feat(infrastructure): add 60sec liveness --- cd-test/guestbook-ui-deployment.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/cd-test/guestbook-ui-deployment.yaml b/cd-test/guestbook-ui-deployment.yaml index 3c5c827..950b91c 100644 --- a/cd-test/guestbook-ui-deployment.yaml +++ b/cd-test/guestbook-ui-deployment.yaml @@ -18,3 +18,17 @@ spec: name: guestbook-ui ports: - containerPort: 80 + livenessProbe: + httpGet: + path: / + port: 80 + initialDelaySeconds: 60 + periodSeconds: 10 + failureThreshold: 3 + readinessProbe: + httpGet: + path: / + port: 80 + initialDelaySeconds: 60 + periodSeconds: 10 + failureThreshold: 3