Merge pull request #761 from inercia/weave-583-2

Background updates for names in the Zone database. Fixes #226.
This commit is contained in:
Adam Harrison committed 2015-05-28 10:00:32 +01:00
commit 037b6df385
30 files changed
+2510 -486

No files matched your search

+6 -4
View File
@@ -44,10 +44,9 @@ $ docker attach $shell1
```
Note that it is permissible to register multiple containers with the
same name. weaveDNS picks one address to return when asked for the
name. Since weaveDNS removes any container that dies, this is a simple
way to implement redundancy. In the current implementation it does
not attempt to do load-balancing.
same name: weaveDNS picks one address at random on each request. Since
weaveDNS removes any container that dies, this is a simple way to
implement redundancy.
Each weaveDNS container started with `launch-dns` needs to be given
its own, unique, IP address, in a subnet that is a) common to all
@@ -110,6 +109,9 @@ The inverse operation can be carried out using the `dns-remove` command:
$ weave dns-remove 10.2.1.27 $shell2
```
When queried about a name with multiple IPs, weaveDNS returns a random
result from the set of IPs available.
## <a name="hot-swapping"></a>Hot-swapping service containers
If you would like to deploy a new version of a service, keep the old