Adding livenessProbe to cinder-api container

This patch set deploys a livenessProbe
for the Cinder API container.

Change-Id: Ice932f3209b9bbff0b54fadc79a99cfc1c2f1ee5
Signed-off-by: Huang,Sophie(sh879n) <sh879n@att.com>
This commit is contained in:
Huang,Sophie(sh879n) 2018-12-10 15:50:24 -06:00
parent bc8eacf3fa
commit b859c1b1a5

View File

@ -88,6 +88,14 @@ spec:
readinessProbe:
tcpSocket:
port: {{ tuple "volume" "internal" "api" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
livenessProbe:
tcpSocket:
port: {{ tuple "volume" "internal" "api" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
initialDelaySeconds: 30
failureThreshold: 3
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
volumeMounts:
- name: cinder-bin
mountPath: /tmp/cinder-api.sh