From 4e5815ced9797b61e329752f49cfa528004e1c32 Mon Sep 17 00:00:00 2001 From: arshamparity Date: Wed, 28 Jul 2021 17:56:24 +0300 Subject: [PATCH] adding liveness and rediness probes --- helm/templates/core-deployment.yaml | 16 ++++++++-------- helm/templates/shard-deployment.yaml | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/helm/templates/core-deployment.yaml b/helm/templates/core-deployment.yaml index e49eda4..87986b2 100644 --- a/helm/templates/core-deployment.yaml +++ b/helm/templates/core-deployment.yaml @@ -44,14 +44,14 @@ spec: - name: http containerPort: {{ .Values.service.core.targetPort }} protocol: TCP - #livenessProbe: - # httpGet: - # path: / - # port: http - #readinessProbe: - # httpGet: - # path: / - # port: http + livenessProbe: + httpGet: + path: /health + port: http + readinessProbe: + httpGet: + path: /health + port: http resources: {{- toYaml .Values.resources | nindent 12 }} {{- with .Values.nodeSelector }} diff --git a/helm/templates/shard-deployment.yaml b/helm/templates/shard-deployment.yaml index c293721..04dba58 100644 --- a/helm/templates/shard-deployment.yaml +++ b/helm/templates/shard-deployment.yaml @@ -46,14 +46,14 @@ spec: - name: http containerPort: {{ .Values.service.shard.targetPort }} protocol: TCP - #livenessProbe: - # httpGet: - # path: / - # port: http - #readinessProbe: - # httpGet: - # path: / - # port: http + livenessProbe: + httpGet: + path: /health + port: http + readinessProbe: + httpGet: + path: /health + port: http resources: {{- toYaml .Values.resources | nindent 12 }} {{- with .Values.nodeSelector }}