diff options
author | Borislav Glozman <Borislav.Glozman@amdocs.com> | 2019-01-17 10:42:57 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-01-17 10:42:57 +0000 |
commit | 79145b425195724d1bc93e226ca6a47f38675d1f (patch) | |
tree | 1c3be3f9e668f3662350341583663360d1322451 /kubernetes/sdc/charts/sdc-be/templates/deployment.yaml | |
parent | 42f5651de0c3c634056b499aeb2ccf12a9039597 (diff) | |
parent | a4cef27683743fc2b81290cb0cdd817d1178a0d0 (diff) |
Merge "K8S liveness probe not work when webapp crash"
Diffstat (limited to 'kubernetes/sdc/charts/sdc-be/templates/deployment.yaml')
-rw-r--r-- | kubernetes/sdc/charts/sdc-be/templates/deployment.yaml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/kubernetes/sdc/charts/sdc-be/templates/deployment.yaml b/kubernetes/sdc/charts/sdc-be/templates/deployment.yaml index 4f8339fd05..063e2d868f 100644 --- a/kubernetes/sdc/charts/sdc-be/templates/deployment.yaml +++ b/kubernetes/sdc/charts/sdc-be/templates/deployment.yaml @@ -69,8 +69,9 @@ spec: - containerPort: {{ .Values.service.internalPort2 }} {{ if eq .Values.liveness.enabled true }} livenessProbe: - tcpSocket: - port: {{ .Values.service.internalPort }} + exec: + command: + - "/var/lib/ready-probe.sh" initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }} periodSeconds: {{ .Values.liveness.periodSeconds }} {{ end }} |