summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Freeman <bf1936@att.com>2019-06-20 13:25:12 +0000
committerGerrit Code Review <gerrit@onap.org>2019-06-20 13:25:12 +0000
commit1112ea9c33423a599d36f5d5f43f2ad0a32e74b3 (patch)
treed2a76e1e1e4e567334c1ab2d53225c5ba8ba1d00
parentae2eea7a697ba98142d0aa91d27d1a593d8891c7 (diff)
parente5d5e68974e9f7c471595772eb233ec86be6b839 (diff)
Merge "Update sdc-be liveness probe"
-rw-r--r--kubernetes/sdc/charts/sdc-be/templates/deployment.yaml6
-rw-r--r--kubernetes/sdc/charts/sdc-be/values.yaml2
2 files changed, 4 insertions, 4 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 }}
diff --git a/kubernetes/sdc/charts/sdc-be/values.yaml b/kubernetes/sdc/charts/sdc-be/values.yaml
index 018c379d67..3363700f8e 100644
--- a/kubernetes/sdc/charts/sdc-be/values.yaml
+++ b/kubernetes/sdc/charts/sdc-be/values.yaml
@@ -48,7 +48,7 @@ affinity: {}
# probe configuration parameters
liveness:
- initialDelaySeconds: 60
+ initialDelaySeconds: 120
periodSeconds: 10
timeoutSeconds: 5
# necessary to disable liveness probe when setting breakpoints