diff options
author | Staffan Olsson <staffan@repos.se> | 2017-10-14 08:17:58 +0200 |
---|---|---|
committer | Staffan Olsson <staffan@repos.se> | 2017-10-14 08:17:58 +0200 |
commit | fd372f4324691cab974ca3b6f311ed7f05e62b8e (patch) | |
tree | 703bb8460a044cc880a21bdf040b9560b38f00c4 | |
parent | 3ba3e56dd92e6f5e45ec05fbafa5546f5c2bde12 (diff) | |
download | kubernetes-kafka-fd372f4324691cab974ca3b6f311ed7f05e62b8e.tar.gz kubernetes-kafka-fd372f4324691cab974ca3b6f311ed7f05e62b8e.tar.bz2 kubernetes-kafka-fd372f4324691cab974ca3b6f311ed7f05e62b8e.zip |
Applies the fix from #74 to liveness as well
-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 de82a08..2e052c4 100644 --- a/zookeeper/50pzoo.yml +++ b/zookeeper/50pzoo.yml @@ -54,7 +54,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 1f5be6a..6f16e80 100644 --- a/zookeeper/51zoo.yml +++ b/zookeeper/51zoo.yml @@ -57,7 +57,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 |