diff options
author | solsson <solsson@gmail.com> | 2017-10-14 07:58:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-14 07:58:46 +0200 |
commit | be14a18f536c3ce04fae89930453e4d0c46553b3 (patch) | |
tree | b88a5c6a404f8b8ae3a31eded44b25fbacb630d3 | |
parent | 172adc05b1ae1e78d436abbf031fc8e4fe16c17f (diff) | |
parent | 9402f60f3ea715eaef2e5f2ea33d873dcb69f73f (diff) | |
download | kubernetes-kafka-be14a18f536c3ce04fae89930453e4d0c46553b3.tar.gz kubernetes-kafka-be14a18f536c3ce04fae89930453e4d0c46553b3.tar.bz2 kubernetes-kafka-be14a18f536c3ce04fae89930453e4d0c46553b3.zip |
Merge pull request #74 from elm-/master
- fix #65: wait for reply
-rw-r--r-- | zookeeper/50pzoo.yml | 2 | ||||
-rw-r--r-- | zookeeper/51zoo.yml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/zookeeper/50pzoo.yml b/zookeeper/50pzoo.yml index 27e2e16..6c0767b 100644 --- a/zookeeper/50pzoo.yml +++ b/zookeeper/50pzoo.yml @@ -48,7 +48,7 @@ spec: command: - /bin/sh - -c - - '[ "imok" = "$(echo ruok | nc -w 1 127.0.0.1 2181)" ]' + - '[ "imok" = "$(echo ruok | nc -w 1 -q 1 127.0.0.1 2181)" ]' volumeMounts: - name: config mountPath: /etc/kafka diff --git a/zookeeper/51zoo.yml b/zookeeper/51zoo.yml index 0e8aa77..c790ec2 100644 --- a/zookeeper/51zoo.yml +++ b/zookeeper/51zoo.yml @@ -51,7 +51,7 @@ spec: command: - /bin/sh - -c - - '[ "imok" = "$(echo ruok | nc -w 1 127.0.0.1 2181)" ]' + - '[ "imok" = "$(echo ruok | nc -w 1 -q 1 127.0.0.1 2181)" ]' volumeMounts: - name: config mountPath: /etc/kafka |