Skip to content

Commit

Permalink
[CP-669] Removed liveness probe as application does not expose any en…
Browse files Browse the repository at this point in the history
…dpoint.
  • Loading branch information
prashant-cloudbolt committed Jul 29, 2024
1 parent e114854 commit b07f50e
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit b07f50e

Please sign in to comment.