dockercloud-haproxy icon indicating copy to clipboard operation
dockercloud-haproxy copied to clipboard

Swarm service deploy mode = global is not supported

Open blop opened this issue 7 years ago • 0 comments
trafficstars

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.

blop avatar Dec 06 '17 09:12 blop