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

Swarm service deploy mode = global is not supported #240

@blop

Description

@blop

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions