-
-
Notifications
You must be signed in to change notification settings - Fork 73
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
Using external ZooKeeper instance (in OS other than Linux) #40
Comments
Thanks for sharing this, I will probably link this issue in the docs too. |
This configuration worked for me when deploying to local Kubernetes with zookeeper1:
image: bitnami/zookeeper:latest
hostname: zookeeper1
ports:
- "2181:2181"
environment:
ALLOW_ANONYMOUS_LOGIN: "yes"
volumes:
- zookeeper1-data:/bitnami/zookeeper
zoonavigator:
image: elkozmon/zoonavigator:0.7.1
ports:
- "8000:8000"
environment:
HTTP_PORT: 8000
AUTO_CONNECT_CONNECTION_STRING: zookeeper1:2181
volumes:
zookeeper1-data: |
I read this DNS string is deprecated and is now just |
Or just run it outside Docker with this script ->
NOTE: if you want to update to a new version, just follow the build steps at https://zoonavigator.elkozmon.com/en/latest/development.html |
By the way, thanks for ZooNavigator, it's a great tool !! ;) :) ... and please don't forget to sponsor the author at -> https://www.paypal.me/elkozmon |
If wanting to connect to a local ZooKeeper on 2181 outside of the docker container, we cannot use network: host mode. Here is how I was able to get around this, remove net=host mode and open 9000 on the host machine:
And use the connection string
docker.for.mac.host.internal:2181
(varies by operating system, see this answer: https://stackoverflow.com/a/43541732/7983959Wanted to share here in case others experience this issue, it was not straightforward to determine the issue
The text was updated successfully, but these errors were encountered: