diff options
Diffstat (limited to 'zookeeper/51zoo.yml')
-rw-r--r-- | zookeeper/51zoo.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/zookeeper/51zoo.yml b/zookeeper/51zoo.yml index c790ec2..1f5be6a 100644 --- a/zookeeper/51zoo.yml +++ b/zookeeper/51zoo.yml @@ -52,6 +52,12 @@ spec: - /bin/sh - -c - '[ "imok" = "$(echo ruok | nc -w 1 -q 1 127.0.0.1 2181)" ]' + livenessProbe: + exec: + command: + - /bin/sh + - -c + - '[ "imok" = "$(echo ruok | nc -w 1 127.0.0.1 2181)" ]' volumeMounts: - name: config mountPath: /etc/kafka |