Merge "Adding livenessProbe to cinder-api container"

This commit is contained in:
Zuul 2018-12-13 18:07:22 +00:00 committed by Gerrit Code Review
commit 861c41b1ac
1 changed files with 8 additions and 0 deletions

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