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 with Docker stack in Swarm mode #229
Comments
From your description it's unclear how the Also you'll probably want to set |
It also seems like you have to prepend your service name with |
ping @yogeek |
@antoineco Sorry for the delay and thank you for your help. |
@antoineco @deviantony Ok, after reading the elastic/elasticsearch-docker#91 (comment) again, I thint I understand.
And so no more need to be in dnsrr and it becomes possible to publish 9200 ! Am I understanding correctly ? I did not have catch that the PR in libnetwork was the key here |
Hardcore Kubernetes user here :) Not sure if I'm in a good position to answer Swarm questions but I may give 17.09 a look out of curiosity. Stay tuned. |
Same failr with end_point mode very simple yml file, contributed by some else who verified at their site
|
Note: same failure in simple docker_compose.yml app1 and app2 with or without deploy: endpoint_mode |
Sorry Antoineco, somehow, I commented on the wrong bug, I was try for docker/for-win #1476 |
Creates the filebeat template dynamically (and associated to the corr…
Hello,
Thank you for sharing this. Is it possible to use the same mechanism but to scale it in a Swarm mode cluster using the 'global' deploy mode with the
docker stack deploy
command instead of docker-compose on a single host ? I would allow each new node to have a new ES service added to the cluster.I tried to deploy it but it seems that putting the service name as
discovery.zen.ping.unicast.hosts: elasticsearch
is not sufficient for ES to detect the other nodes in swarm mode. Here is the error log I have :And here is the docker-stack.yml I use :
Why can't the DNS round robin of Swarm cannot apply here as it applies in your local docker-compose stack ?
Thank you
The text was updated successfully, but these errors were encountered: