summaryrefslogtreecommitdiffstats
path: root/kubernetes/appc
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2019-11-12 08:07:03 +0000
committerGerrit Code Review <gerrit@onap.org>2019-11-12 08:07:03 +0000
commitd56c7fdc84ae5c78ef9e7670a6952e31fd06d043 (patch)
tree7795519bfaeb08af156ade6942febb44b1c80a87 /kubernetes/appc
parent5bdb14011023be31471622a92b98493a04da0281 (diff)
parentcdc42667e5e7b66b152437e69795c06c7f83c17b (diff)
Merge "change readiness logic for APPC docker"
Diffstat (limited to 'kubernetes/appc')
-rw-r--r--kubernetes/appc/templates/statefulset.yaml5
1 files changed, 2 insertions, 3 deletions
diff --git a/kubernetes/appc/templates/statefulset.yaml b/kubernetes/appc/templates/statefulset.yaml
index 1401a8225d..1bd3103e3b 100644
--- a/kubernetes/appc/templates/statefulset.yaml
+++ b/kubernetes/appc/templates/statefulset.yaml
@@ -63,9 +63,8 @@ spec:
- containerPort: {{ .Values.service.internalPort }}
- containerPort: {{ .Values.service.externalPort2 }}
readinessProbe:
- exec:
- command:
- - /opt/appc/bin/health_check.sh
+ tcpSocket:
+ port: {{ .Values.service.internalPort }}
initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
periodSeconds: {{ .Values.readiness.periodSeconds }}
env: