From 7de4345790e41adcbb2cb898d53015dba709fadc Mon Sep 17 00:00:00 2001 From: Anatolii_Hrychaniuk <Anatolii_Hrychaniuk@epam.com> Date: Thu, 21 Sep 2023 11:47:40 +0300 Subject: [PATCH] enable health check --- devops/gc/deploy/templates/deployment.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/devops/gc/deploy/templates/deployment.yaml b/devops/gc/deploy/templates/deployment.yaml index b0ee0ecfd..4b5cb89df 100644 --- a/devops/gc/deploy/templates/deployment.yaml +++ b/devops/gc/deploy/templates/deployment.yaml @@ -54,12 +54,12 @@ spec: runAsNonRoot: true ports: - containerPort: 8080 - # livenessProbe: - # httpGet: - # path: /health - # port: 8080 - # initialDelaySeconds: 270 - # periodSeconds: 10 + livenessProbe: + httpGet: + path: /health + port: 8080 + initialDelaySeconds: 60 + periodSeconds: 10 resources: requests: cpu: {{ .Values.data.requestsCpu | quote }} -- GitLab