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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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