summaryrefslogtreecommitdiffstats
path: root/kubernetes/sdc/charts/sdc-be/templates/deployment.yaml
diff options
context:
space:
mode:
authorYang Xu <yang.xu@futurewei.com>2019-06-19 18:20:31 -0400
committerYang Xu <yang.xu@futurewei.com>2019-06-20 03:57:52 +0000
commite5d5e68974e9f7c471595772eb233ec86be6b839 (patch)
treee3ec1e1837f46a6f98bf818337be94d3600c760b /kubernetes/sdc/charts/sdc-be/templates/deployment.yaml
parentc1b717dcde54b25b38e4280c90308c1f38945e51 (diff)
Update sdc-be liveness probe
Signed-off-by: Yang Xu <yang.xu@futurewei.com> Issue-ID: SDC-2375 Change-Id: I459359828485c31a247a495674eb450af9fdf167
Diffstat (limited to 'kubernetes/sdc/charts/sdc-be/templates/deployment.yaml')
-rw-r--r--kubernetes/sdc/charts/sdc-be/templates/deployment.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/kubernetes/sdc/charts/sdc-be/templates/deployment.yaml b/kubernetes/sdc/charts/sdc-be/templates/deployment.yaml
index 0b015aa95c..2d47f4b588 100644
--- a/kubernetes/sdc/charts/sdc-be/templates/deployment.yaml
+++ b/kubernetes/sdc/charts/sdc-be/templates/deployment.yaml
@@ -69,9 +69,9 @@ spec:
- containerPort: {{ .Values.service.internalPort2 }}
{{ if eq .Values.liveness.enabled true }}
livenessProbe:
- exec:
- command:
- - "/var/lib/ready-probe.sh"
+ httpGet:
+ path: /sdc2/rest/version
+ port: {{ .Values.service.internalPort2 }}
initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }}
periodSeconds: {{ .Values.liveness.periodSeconds }}
timeoutSeconds: {{ .Values.liveness.timeoutSeconds }}