From e2d01cc864c14314b8f0cb1a268017af93deab26 Mon Sep 17 00:00:00 2001 From: Staffan Olsson Date: Sat, 14 Oct 2017 08:19:38 +0200 Subject: Allows a longer timeout for liveness, in case the node is very busy etc --- zookeeper/50pzoo.yml | 2 +- zookeeper/51zoo.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/zookeeper/50pzoo.yml b/zookeeper/50pzoo.yml index 2e052c4..088615f 100644 --- a/zookeeper/50pzoo.yml +++ b/zookeeper/50pzoo.yml @@ -54,7 +54,7 @@ spec: command: - /bin/sh - -c - - '[ "imok" = "$(echo ruok | nc -w 1 -q 1 127.0.0.1 2181)" ]' + - '[ "imok" = "$(echo ruok | nc -w 5 -q 1 127.0.0.1 2181)" ]' volumeMounts: - name: config mountPath: /etc/kafka diff --git a/zookeeper/51zoo.yml b/zookeeper/51zoo.yml index 6f16e80..2a04733 100644 --- a/zookeeper/51zoo.yml +++ b/zookeeper/51zoo.yml @@ -57,7 +57,7 @@ spec: command: - /bin/sh - -c - - '[ "imok" = "$(echo ruok | nc -w 1 -q 1 127.0.0.1 2181)" ]' + - '[ "imok" = "$(echo ruok | nc -w 5 -q 1 127.0.0.1 2181)" ]' volumeMounts: - name: config mountPath: /etc/kafka -- cgit v1.2.3