[chart] Enable liveness probe in DH

This is to try to address stuck deckhand-api ponds that never
went to error state in an attempt to self-jolt the pod again.

Change-Id: I70bf57dde5d696bddc68caab2f54826803d82d28
This commit is contained in:
anthony.bellino 2019-02-20 21:49:02 +00:00 committed by Drew Walters
parent 2c831c1fd1
commit daab07a949
1 changed files with 8 additions and 0 deletions

View File

@ -64,6 +64,14 @@ spec:
{{ tuple $envAll $envAll.Values.pod.resources.api | include "helm-toolkit.snippets.kubernetes_resources" | indent 10 }}
ports:
- containerPort: {{ tuple "deckhand" "internal" "api" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
livenessProbe:
httpGet:
scheme: HTTP
path: /api/v1.0/health
port: {{ tuple "deckhand" "internal" "api" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
initialDelaySeconds: 15
periodSeconds: 20
timeoutSeconds: 10
readinessProbe:
httpGet:
scheme: HTTP