diff --git a/cinder/templates/deployment-api.yaml b/cinder/templates/deployment-api.yaml index 9213d34fb2..d194a40f2f 100644 --- a/cinder/templates/deployment-api.yaml +++ b/cinder/templates/deployment-api.yaml @@ -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