aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zookeeper/50pzoo.yml2
-rw-r--r--zookeeper/51zoo.yml2
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