Deckhand API - Liveness and Readiness Probes
This patch set does the following to enhance health/status checks on the deckhand-api pod: 1) Add Liveness Probe 2) Update Readiness Probe Change-Id: I1a1c107706862431e53668a864db622499e63c6f
This commit is contained in:
parent
e90c0aedf8
commit
a29741e3a7
|
@ -55,10 +55,21 @@ spec:
|
||||||
imagePullPolicy: {{ .Values.images.pull_policy }}
|
imagePullPolicy: {{ .Values.images.pull_policy }}
|
||||||
{{ tuple $envAll $envAll.Values.pod.resources.api | include "helm-toolkit.snippets.kubernetes_resources" | indent 10 }}
|
{{ tuple $envAll $envAll.Values.pod.resources.api | include "helm-toolkit.snippets.kubernetes_resources" | indent 10 }}
|
||||||
ports:
|
ports:
|
||||||
- containerPort: {{ .Values.network.port }}
|
- 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: 10
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
tcpSocket:
|
httpGet:
|
||||||
port: {{ .Values.network.port }}
|
scheme: HTTP
|
||||||
|
path: /api/v1.0/health
|
||||||
|
port: {{ tuple "deckhand" "internal" "api" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
|
||||||
|
initialDelaySeconds: 15
|
||||||
|
periodSeconds: 10
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: etc-deckhand
|
- name: etc-deckhand
|
||||||
mountPath: /etc/deckhand
|
mountPath: /etc/deckhand
|
||||||
|
|
Loading…
Reference in New Issue