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:
parent
bc8eacf3fa
commit
b859c1b1a5
@ -88,6 +88,14 @@ spec:
|
|||||||
readinessProbe:
|
readinessProbe:
|
||||||
tcpSocket:
|
tcpSocket:
|
||||||
port: {{ tuple "volume" "internal" "api" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
|
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:
|
volumeMounts:
|
||||||
- name: cinder-bin
|
- name: cinder-bin
|
||||||
mountPath: /tmp/cinder-api.sh
|
mountPath: /tmp/cinder-api.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user