Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Do not add names to ingress network#1489

Merged
aboch merged 1 commit into
moby:mastermoby/libnetwork:masterfrom
mrjana:lbmrjana/libnetwork:lbCopy head branch name to clipboard
Oct 5, 2016
Merged

Do not add names to ingress network#1489
aboch merged 1 commit into
moby:mastermoby/libnetwork:masterfrom
mrjana:lbmrjana/libnetwork:lbCopy head branch name to clipboard

Conversation

@mrjana

@mrjana mrjana commented Oct 3, 2016

Copy link
Copy Markdown
Contributor

Do not add service discovery names to ingress network as this is a
routing only network and no intra-cluster discovery should happen in
that network. This fixes the ambiguity and resolving names between
services which are both publishing ports and also attached to same
another network.

Related to moby/moby#27147

Signed-off-by: Jana Radhakrishnan mrjana@docker.com

@aboch

aboch commented Oct 3, 2016

Copy link
Copy Markdown
Contributor

LGTM

@sanimej

sanimej commented Oct 4, 2016

Copy link
Copy Markdown

@mrjana If a service publishes a port and is attached to a user created overlay network we prefer that network in the name resolution and not the ingress network. Does the ambiguity happen in some other case ?

I think this change can be made after we block the service creation on the ingress network. Otherwise the behavior will be confusing. wdyt ? AFAIK, our documentation doesn't mention that service creation on ingress network is not recommended/supported.

Do not add service discovery names to ingress network as this is a
routing only network and no intra-cluster discovery should happen in
that network. This fixes the ambiguity and resolving names between
services which are both publishing ports and also attached to same
another network.

Signed-off-by: Jana Radhakrishnan <mrjana@docker.com>
@mrjana

mrjana commented Oct 4, 2016

Copy link
Copy Markdown
Contributor Author

@sanimej Ah yes, I totally forgot about that fix you made for preferring user defined network. But nevertheless, there are still some issues with creating name entries in the ingress network and it is totally unnecessary. We never intended ingress network to be used the way it is being used and we should block. There is multiple PRs underway at the moment to fix this unintended ingress network behavior. This is part of them.

@vieux

vieux commented Oct 5, 2016

Copy link
Copy Markdown
Contributor

👍

@aboch
aboch merged commit d9e5cdf into moby:master Oct 5, 2016
@vieux

vieux commented Oct 5, 2016

Copy link
Copy Markdown
Contributor

@mrjana @mavenugo can you the PRs to docker/master and docker/1.12.x ?

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.

5 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.