Commit 3097ae2a authored by 智勇's avatar 智勇

Merge branch 'zookeeperHealth' into 'master'

Zookeeper health



See merge request !43
parents c8f23261 cbf50ae7
...@@ -50,7 +50,8 @@ spec: ...@@ -50,7 +50,8 @@ spec:
memory: {{resources.memory.limit}}Mi memory: {{resources.memory.limit}}Mi
readinessProbe: readinessProbe:
exec: exec:
command: ['[ $(echo ruok | nc localhost 2181) == imok ]'] command:
- /zookeeper-3.4.13/readyCheck.sh
initialDelaySeconds: 5 initialDelaySeconds: 5
periodSeconds: 2 periodSeconds: 2
timeoutSeconds: 1 timeoutSeconds: 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment