From b07f50e621d6067ffdb2029df52560143f65d9fd Mon Sep 17 00:00:00 2001 From: Prashant Rajavat Date: Mon, 29 Jul 2024 12:59:28 +0530 Subject: [PATCH] [CP-669] Removed liveness probe as application does not expose any endpoint. --- templates/deployment.yaml | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/templates/deployment.yaml b/templates/deployment.yaml index abc8cd1..94173a9 100644 --- a/templates/deployment.yaml +++ b/templates/deployment.yaml @@ -51,15 +51,18 @@ spec: secretKeyRef: name: cb-ingestion-token key: INGESTION_API_TOKEN - livenessProbe: - exec: - command: - - /bin/bash - - -c - - find /tmp -type f -mmin -40 | grep liveness.txt - initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }} - failureThreshold: {{ .Values.liveness.failureThreshold }} - periodSeconds: {{ .Values.liveness.periodSeconds }} + ## + ## Disabled as application does not expose any application endpoint. + ## + # livenessProbe: + # exec: + # command: + # - /bin/bash + # - -c + # - find /tmp -type f -mmin -40 | grep liveness.txt + # initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }} + # failureThreshold: {{ .Values.liveness.failureThreshold }} + # periodSeconds: {{ .Values.liveness.periodSeconds }} resources: {{- toYaml .Values.resources | nindent 12 }} {{- with .Values.volumeMounts }}