summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoranthony.bellino <ab2434@att.com>2019-02-20 21:49:02 +0000
committerDrew Walters <drewwalters96@gmail.com>2019-02-28 21:10:46 +0000
commitdaab07a949621fad3e708c8b6805cfebe3cc8005 (patch)
tree6ed6416810fb77041be221ae8723a2154d6a34db
parent2c831c1fd188cd4ab7e6b51d40c0a6ff9b73aa98 (diff)
[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
Notes
Notes (review): Code-Review+2: Scott Hussey <sthussey@att.com> Code-Review+1: Nishant Kumar <nishant.e.kumar@ericsson.com> Code-Review+1: Drew Walters <drewwalters96@gmail.com> Code-Review+1: Alexander Hughes <Alexander.Hughes@pm.me> Code-Review+1: Vladyslav Drok <vdrok@mirantis.com> Code-Review+2: Felipe Monteiro <felipe.monteiro@att.com> Code-Review+1: Evgeniy L <eli@mirantis.com> Workflow+1: Matt McEuen <matt.mceuen@att.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 01 Mar 2019 23:03:46 +0000 Reviewed-on: https://review.openstack.org/638275 Project: openstack/airship-deckhand Branch: refs/heads/master
-rw-r--r--charts/deckhand/templates/deployment.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/charts/deckhand/templates/deployment.yaml b/charts/deckhand/templates/deployment.yaml
index b4b5205..22491b8 100644
--- a/charts/deckhand/templates/deployment.yaml
+++ b/charts/deckhand/templates/deployment.yaml
@@ -64,6 +64,14 @@ spec:
64{{ tuple $envAll $envAll.Values.pod.resources.api | include "helm-toolkit.snippets.kubernetes_resources" | indent 10 }} 64{{ tuple $envAll $envAll.Values.pod.resources.api | include "helm-toolkit.snippets.kubernetes_resources" | indent 10 }}
65 ports: 65 ports:
66 - containerPort: {{ tuple "deckhand" "internal" "api" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }} 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 readinessProbe: 75 readinessProbe:
68 httpGet: 76 httpGet:
69 scheme: HTTP 77 scheme: HTTP