From cdc42667e5e7b66b152437e69795c06c7f83c17b Mon Sep 17 00:00:00 2001 From: Taka Cho Date: Fri, 8 Nov 2019 16:08:38 -0500 Subject: change readiness logic for APPC docker change to poke 8181 port Issue-ID: APPC-1792 Change-Id: I16160dde01c11c6625b407a1f5db4a24bc291df5 Signed-off-by: Taka Cho --- kubernetes/appc/templates/statefulset.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'kubernetes') 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: -- cgit 1.2.3-korg