From 1371dd324c0c2e21bd209c56fce799f9dd7d9a29 Mon Sep 17 00:00:00 2001 From: Pratap2018 Date: Thu, 7 Dec 2023 12:05:38 +0530 Subject: [PATCH] update deployment --- .deploy/deployment.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.deploy/deployment.yaml b/.deploy/deployment.yaml index eb97e5b..9922fe1 100644 --- a/.deploy/deployment.yaml +++ b/.deploy/deployment.yaml @@ -23,6 +23,12 @@ spec: cpu: "200m" ports: - containerPort: __PORT__ + livenessProbe: + httpGet: + path: /api + port: __PORT__ + initialDelaySeconds: 15 + periodSeconds: 10 env: - name: HOST value: __HOST__