Shipyard_API - Liveness and Readiness Probes
This patch set does the following to enhance health/status checks on the shipyard-api pod: 1) Add Liveness Probe 2) Update Readiness Probe Change-Id: Ifab63a8724f29fb38124f43d475bb022807a4cce
This commit is contained in:
parent
74a3743fae
commit
ba1e1439e4
|
@ -53,10 +53,20 @@ spec:
|
||||||
imagePullPolicy: {{ .Values.images.pull_policy }}
|
imagePullPolicy: {{ .Values.images.pull_policy }}
|
||||||
{{ tuple $envAll $envAll.Values.pod.resources.shipyard_api | include "helm-toolkit.snippets.kubernetes_resources" | indent 10 }}
|
{{ tuple $envAll $envAll.Values.pod.resources.shipyard_api | include "helm-toolkit.snippets.kubernetes_resources" | indent 10 }}
|
||||||
ports:
|
ports:
|
||||||
- containerPort: {{ .Values.network.shipyard.port }}
|
- containerPort: {{ tuple "shipyard" "internal" "api" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
|
||||||
|
livenessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /api/v1.0/health
|
||||||
|
port: {{ tuple "shipyard" "internal" "api" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
|
||||||
|
initialDelaySeconds: 15
|
||||||
|
periodSeconds: 10
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
tcpSocket:
|
httpGet:
|
||||||
port: {{ .Values.network.shipyard.port }}
|
scheme: HTTP
|
||||||
|
path: /api/v1.0/health
|
||||||
|
port: {{ tuple "shipyard" "internal" "api" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
|
||||||
|
initialDelaySeconds: 15
|
||||||
|
periodSeconds: 10
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: etc-shipyard
|
- name: etc-shipyard
|
||||||
mountPath: /etc/shipyard
|
mountPath: /etc/shipyard
|
||||||
|
|
Loading…
Reference in New Issue