Skip to content

Commit

Permalink
Allows our readiness probe with zookeeper >=3.5.3
Browse files Browse the repository at this point in the history
Without this zookeeper would reply: ruok is not executed because it is not in the whitelist

Fixes #298, according to tests with variants/dev-small and regular apply -k on k3s
  • Loading branch information
solsson committed Jan 11, 2020
1 parent 534f448 commit 363e3de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zookeeper/10zookeeper-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ data:
sed -i "s/server\.$ZOOKEEPER_SERVER_ID\=[a-z0-9.-]*/server.$ZOOKEEPER_SERVER_ID=0.0.0.0/" /etc/kafka/zookeeper.properties
zookeeper.properties: |
4lw.commands.whitelist=ruok
tickTime=2000
dataDir=/var/lib/zookeeper/data
dataLogDir=/var/lib/zookeeper/log
Expand Down

0 comments on commit 363e3de

Please sign in to comment.