aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStaffan Olsson <staffan@repos.se>2017-10-14 08:19:38 +0200
committerStaffan Olsson <staffan@repos.se>2017-10-14 08:19:38 +0200
commite2d01cc864c14314b8f0cb1a268017af93deab26 (patch)
tree5bd9574f3a6789507550f5eac9bfb554808efdab
parentfd372f4324691cab974ca3b6f311ed7f05e62b8e (diff)
downloadkubernetes-kafka-zookeeper-liveness-probes.tar.gz
kubernetes-kafka-zookeeper-liveness-probes.tar.bz2
kubernetes-kafka-zookeeper-liveness-probes.zip
Allows a longer timeout for liveness, in case the node is very busy etczookeeper-liveness-probes
-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 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