Skip to content
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

Fix problems about duplicated and missing Docker backends/frontends. #2434

Merged
merged 2 commits into from Nov 20, 2017

Conversation

nmengin
Copy link
Contributor

@nmengin nmengin commented Nov 20, 2017

What does this PR do?

The PR fixes two problems with Docker backends :

  • When swarm services has replicas, Træfik has to create only one frontend by checking if a Swarm service frontend already exists.
  • When swarm services are set with the same Træfik configuration, Træfik has to create all the frontends and backends for all the services : a new prefix with the container serviceName is added to the backend names.

Motivation

Fixes #2410

Copy link
Member

@ldez ldez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@mmatur mmatur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@vdemeester vdemeester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🐮

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

Successfully merging this pull request may close these issues.

None yet

5 participants