This is an automated email from the ASF dual-hosted git repository. dgrove pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-deploy-kube.git
commit 058f3bd5564feb14cf465aa5c62c4d07f769588d Author: David Grove <gro...@us.ibm.com> AuthorDate: Sun Jun 23 10:34:21 2019 -0700 fix host port format for nc command --- helm/openwhisk/templates/zookeeper-pod.yaml | 2 +- helm/openwhisk/values.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/helm/openwhisk/templates/zookeeper-pod.yaml b/helm/openwhisk/templates/zookeeper-pod.yaml index 21e1b2a..e673023 100644 --- a/helm/openwhisk/templates/zookeeper-pod.yaml +++ b/helm/openwhisk/templates/zookeeper-pod.yaml @@ -82,7 +82,7 @@ spec: command: - /bin/bash - -c - - "echo ruok | nc -w 1 localhost:{{ .Values.zookeeper.port }} | grep imok" + - "echo ruok | nc -w 1 localhost {{ .Values.zookeeper.port }} | grep imok" initialDelaySeconds: {{ .Values.probes.zookeeper.readinessProbe.initialDelaySeconds }} periodSeconds: {{ .Values.probes.zookeeper.readinessProbe.periodSeconds }} timeoutSeconds: {{ .Values.probes.zookeeper.readinessProbe.timeoutSeconds }} diff --git a/helm/openwhisk/values.yaml b/helm/openwhisk/values.yaml index 9e974a4..3349f70 100644 --- a/helm/openwhisk/values.yaml +++ b/helm/openwhisk/values.yaml @@ -165,7 +165,7 @@ docker: zookeeper: imageName: "zookeeper" imageTag: "3.4" - imagePullPolicy: "Always" # Workaround caching of 3.4.x images that don't have nc + imagePullPolicy: "IfNotPresent" # Note: Zookeeper's quorum protocol is designed to have an odd number of replicas. replicaCount: 1 restartPolicy: "Always"