Skip to content
This repository has been archived by the owner on Dec 13, 2018. It is now read-only.

Swarm service deploy mode = global is not supported #240

Open
blop opened this issue Dec 6, 2017 · 0 comments
Open

Swarm service deploy mode = global is not supported #240

blop opened this issue Dec 6, 2017 · 0 comments

Comments

@blop
Copy link

blop commented Dec 6, 2017

When using service in swarm, dockercloud/haproxy fails to link backend for services deployed globally.

    serviceA:
        deploy:
            mode: global

Workaround is to switch to replicated deploy mode (which is the default).

    serviceA:
        deploy:
            mode: replicated
            replicas: 3

It seems the containers created for globally deployed services are named differently, with a 0 as the second part of the name instead of the node id.

This should be fixed, and/or a warning should be added in the documentation if not.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant