-
Notifications
You must be signed in to change notification settings - Fork 673
Merge weaveDNS with router #741
Comments
I don't think the IP itself poses a problem. But I suspect that any packets produced by the router container on Note that when using ODP, the router does not need an |
I was suggesting giving the router a separate interface from |
The user (still) shouldn't have to care what the weave IP of the DNS server is. Can't it get it with the IPAM system? |
I don't see why the router would want to get involved in packets between local containers and local weaveDNS. I do think there is a tricky question of routing - would weaveDNS have an IP address in every subnet used by local containers? Or would every local container be given an additional IP address on a weaveDNS subnet? |
It doesn't. The issue is communication between the local DNS and its peers.
We are not planning to change anything in how containers talk to DNS. |
Sorry, I was conflating this issue with the idea of having just one network (i.e. no Docker bridge) |
things that can be done as separate PRs
things we need to do to merge the weavedns executable into weaver:
|
For backward compatibility, |
This has been superseded by #826 |
Overview
We should produce a single executable and image containing the router + weaveDNS. This simplifies the UI and also lays the foundation for re-architecting weaveDNS to use the router's gossip.
User visible changes:
weave launch-dns
goes and instead we have a--dns <cidr>
(name TBD) option toweave launch
weave stop-dns
goesweave version
will no longer report on the weavedns imageweave status
output might look a little bit differentThe main tricky bit is that the
weave
container currently does not have an IP address onethwe
, and only performs capture/inject on the interface. Would adding the IP+network for weaveDNS break capture/inject? And would the router correctly capture/inject packets from/to the local weaveDNS?Worst case we could add a separate interface for the capture/inject.
Implementation Phases
This feature should be delivered as four incremental PRs:
weave launch
launch everything #962 Makeweave launch
launch everythingThe text was updated successfully, but these errors were encountered: