Commit 30afe24a authored by kewei.jia's avatar kewei.jia

更换健康检查

parent 99535023
......@@ -50,7 +50,8 @@ spec:
memory: {{resources.memory.limit}}Mi
readinessProbe:
exec:
command: ['[ $(echo ruok | nc localhost 2181) == imok ]']
command:
- /zookeeper-3.4.14/readyCheck.sh
initialDelaySeconds: 5
periodSeconds: 2
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