-
-
Notifications
You must be signed in to change notification settings - Fork 242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added health check #28
Conversation
Hey @thall, thanks for the PR! I wonder how would this compare to [[ `echo ruok | nc localhost $ZOO_PORT` == 'imok' ]] Note, that What do you think? |
9fc5e1f
to
4372d3b
Compare
@31z4 Your are right! The documentation also state that, https://zookeeper.apache.org/doc/r3.3.6/zookeeperAdmin.html#sc_zkCommands . I have pushed a new commit. Thanks for the feedback! |
Hey @thall, sorry to say that, but it looks like there is no chance for this change to be merged into the official library due to @yosifkit position. Please see docker-library/postgres#282 for details. |
Hi, anyone have any tips to implement our own healthcheck at the I've been trying What's odd is that the service will start -- I can see leader election and everything using |
@dsw9742 have you tried to exec |
@31z4 clearly I should have provided more context about some of this. The env var for SERVER_JVMFLAGS is used in my configuration to set java Xmx and the prometheus JMX agent. I have to clear that env var any time I I'll try removing |
@31z4 so tested this a bit with If I exec into the running container and execute If I exec into the running container and execute So seems to me the cause is one or more of the flags I'm setting with the env var What I don't understand is why setting the |
Think the official Zookeeper image should include an health check.