Browse Source

[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
changes/75/638275/2
anthony.bellino 3 months ago
parent
commit
daab07a949
1 changed files with 8 additions and 0 deletions
  1. 8
    0
      charts/deckhand/templates/deployment.yaml

+ 8
- 0
charts/deckhand/templates/deployment.yaml View File

@@ -64,6 +64,14 @@ spec:
64 64
 {{ tuple $envAll $envAll.Values.pod.resources.api | include "helm-toolkit.snippets.kubernetes_resources" | indent 10 }}
65 65
           ports:
66 66
             - containerPort: {{ tuple "deckhand" "internal" "api" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
67
+          livenessProbe:
68
+            httpGet:
69
+              scheme: HTTP
70
+              path: /api/v1.0/health
71
+              port: {{ tuple "deckhand" "internal" "api" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
72
+            initialDelaySeconds: 15
73
+            periodSeconds: 20
74
+            timeoutSeconds: 10
67 75
           readinessProbe:
68 76
             httpGet:
69 77
               scheme: HTTP

Loading…
Cancel
Save