aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
authorTaka Cho <takamune.cho@att.com>2019-11-08 16:08:38 -0500
committerTaka Cho <takamune.cho@att.com>2019-11-08 16:13:51 -0500
commitcdc42667e5e7b66b152437e69795c06c7f83c17b (patch)
tree79c9f7b98d99e4a73828b0673b7773d5485ce5c2 /kubernetes
parentdacbc1cf3cd4c2312ce55de281290fe86c68baba (diff)
change readiness logic for APPC docker
change to poke 8181 port Issue-ID: APPC-1792 Change-Id: I16160dde01c11c6625b407a1f5db4a24bc291df5 Signed-off-by: Taka Cho <takamune.cho@att.com>
Diffstat (limited to 'kubernetes')
-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: