Martynas Pumputis
82b56848a9
Add peer discovery for Docker Swarm
...
The peer discovery relies on "GET /info" API call which returns
list of master nodes. The peer list is passed to weaver when
launching it.
If node is a master, then we pass "--ipalloc-alloc
consensus=$(MASTER_NODES_COUNT)" to weaver. Otherwise, we pass
"--ipalloc-alloc observer".
2017-04-12 13:05:39 +00:00
Martynas Pumputis
889dc856af
Update fsouza/go-dockerclient
...
The updated dep requires adding the following new deps:
- vendor/github.com/fsouza/go-dockerclient
- vendor/golang.org/x/net
2017-04-12 13:05:39 +00:00
Martynas Pumputis
2ba8764615
Do not run "docker kill" inside smoke tests, because Docker 1.13.1
...
Otherwise test suites hang if run with Docker 1.13.1.
See: https://github.com/docker/docker/issues/31447
2017-04-12 13:05:39 +00:00
Martynas Pumputis
eb5435d275
Bump Docker CI version to 1.13.1
2017-04-12 13:05:39 +00:00
Marc CARRE
b048b6deb0
Bind-mount /proc in V2 plugin container.
...
This allows to pass ARP settings from the host, e.g.:
```
$ sudo docker-runc exec 512af90f342f16dddebc7b7245985d5eb67557e76798b4033eed2ff7adaa4eb5 cat /proc/sys/net/ipv4/neigh/weave/ucast_solicit
3
$ cat /proc/sys/net/ipv4/neigh/weave/ucast_solicit
3
$ cat /proc/sys/net/ipv4/neigh/weave/ucast_solicit
1
$ sudo docker-runc exec 512af90f342f16dddebc7b7245985d5eb67557e76798b4033eed2ff7adaa4eb5 cat /proc/sys/net/ipv4/neigh/weave/ucast_solicit
1
```
2017-04-12 13:05:39 +00:00
Bryan Boreham
0c23e47124
Allow docker API location to be specified or blanked
2017-04-12 13:05:39 +00:00
Bryan Boreham
0af2111535
Mention swarm mode in docs
2017-04-12 13:05:39 +00:00
Bryan Boreham
5bbd886e6f
Build a 'v2' Docker plugin
...
Redirect output to specific log files, because there doesn't seem to
be a 'docker logs' for plugins
2017-04-12 13:05:39 +00:00
Marc Carré
402fe094f4
Merge pull request #2893 from weaveworks/ipam-ops-reentrant. Fixes #2892 .
...
IPAM: Make sure we have a ring before calling tryOps()
2017-04-12 13:25:32 +01:00
Marc CARRE
b753bcd982
Merge remote-tracking branch 'origin/ipam-ops-reentrant'
2017-04-12 13:19:52 +01:00
Marc Carré
d6a5eaec3f
Merge pull request #2885 from weaveworks/issues/2353-remove-weave-run
...
Remove 'weave run', 'start' and 'restart'
2017-04-12 12:40:29 +01:00
Bryan Boreham
771f57029e
Document flags to 'weave attach'
2017-04-12 12:15:42 +01:00
Bryan Boreham
c223ff1c7d
Support --without-dns in 'weave attach'
2017-04-12 12:15:42 +01:00
Bryan Boreham
481214776b
Update docs for removal of 'weave run'
2017-04-12 12:15:42 +01:00
Bryan Boreham
98e6571059
Remove 'weave run', 'start' and 'restart'
...
Replace with informative message.
Also fix up tests which were calling these commands.
2017-04-12 12:15:37 +01:00
Marc Carré
19a31a5b82
Merge pull request #2814 from weaveworks/weaveutil-allids
...
Fetch list of container IDs inside weaveutil
2017-04-12 11:35:37 +01:00
Bryan Boreham
090878c157
Implement GetCapabilities on IPAM interface to eliminate warning message
2017-04-12 10:19:06 +00:00
Martynas Pumputis
53cc270f47
Make compatible with Docker Swarmkit
...
Implement (empty) endpoints for new NetworkAllocate and NetworkFree calls
Also update libnetwork and docker dependencies
2017-04-12 10:19:06 +00:00
Martynas Pumputis
ceb0186f46
Better error reporing for weaveutil
...
If a weaveutil subcmd is not found, report the fact to stderr.
2017-04-12 09:48:03 +00:00
Bryan Boreham
46762a40b0
Use 'allids' feature to populate DNS names
2017-04-12 09:36:21 +00:00
Bryan Boreham
c291324d14
Refactor: don't have three global variables called COMMAND
2017-04-12 09:36:21 +00:00
Bryan Boreham
b307b9872a
Fetch list of container IDs inside weaveutil, for 'weave ps'
2017-04-12 09:36:21 +00:00
Bryan Boreham
5e290aa11f
Don't halt kubernetes test script if 'weave expose' fails
...
it's better to carry on so k8s gets cleaned down
2017-04-11 16:31:52 +00:00
Bryan Boreham
5f6c5f6692
Ensure boltDB pathname is constructed uniformly
...
Keep the concatenation of the prefix and filename inside the boltdb
package, so we can't get it wrong outside.
2017-04-11 15:45:04 +00:00
Bryan Boreham
1c1b3248c0
Make sure we have a ring before calling tryOps()
...
because otherwise the pending ops can be modified from inside Try()
2017-04-11 15:36:53 +00:00
Marc Carré
bc47866880
Merge pull request #2827 from weaveworks/issues/2799-peer-disco
...
Peer Discovery via cloud service
2017-04-11 14:59:28 +01:00
Bryan Boreham
60c5e11871
Add pod resources and eviction to weave-kube doc
2017-04-11 12:29:27 +00:00
Bryan Boreham
e6a692424b
Add screen grab for Weave Cloud token
2017-04-11 12:22:59 +00:00
Bryan Boreham
f293063538
Fix print of error
2017-04-10 16:44:10 +00:00
Bryan Boreham
6321512ddb
Use peer count sent back by service
2017-04-10 16:42:47 +00:00
Bryan Boreham
0ca125ff2c
Extract 'HasMode' as method on ipamConfig
2017-04-10 16:42:28 +00:00
Bryan Boreham
57efe0145b
Remove TODO comment - if it's a transient error then enough restarts will get past it
2017-04-10 15:53:23 +00:00
Bryan Boreham
bd53462ab2
Rename 'weavenet' to 'net' in URLs, for simplicity
2017-04-10 15:45:49 +00:00
Bryan Boreham
c44d98b798
Add basic docs for peer discovery
2017-04-10 14:36:26 +00:00
Bryan Boreham
c8adcb2e79
Wire peer discovery delete into reset and rmpeer
2017-04-10 14:09:06 +00:00
Bryan Boreham
768f89c3de
Move peer http handlers from ipam to weaver
2017-04-10 14:09:06 +00:00
Bryan Boreham
e2d644b86b
Peer Discovery via a web service
2017-04-10 14:09:06 +00:00
Bryan Boreham
09977a2e04
Updated weaveworks/common, plus dependencies
...
Needed for peer discovery client calls
2017-04-10 14:01:59 +00:00
Bryan Boreham
63a0b964ab
Merge branch '1.9'
2017-04-10 12:45:03 +00:00
Ilya Dmitrichenko
5cae747b36
Consisten spacing in Markdown headings
...
Jekyll doesn't tolerate this, and it's generally cosidered a cleaner
style, we've had a bit of mixed style and this makes it consistent.
2017-04-10 12:44:38 +00:00
Marc Carré
1b7c386351
Merge pull request #2889 from weaveworks/consistent-spacing-in-markdown-headings
...
Consisten spacing in Markdown headings
2017-04-10 13:35:37 +01:00
Bryan Boreham
ef0dae4ed3
Simple example is only on two hosts
2017-04-10 11:37:06 +00:00
Ilya Dmitrichenko
293f1990bc
Consisten spacing in Markdown headings
...
Jekyll doesn't tolerate this, and it's generally cosidered a cleaner
style, we've had a bit of mixed style and this makes it consistent.
2017-04-10 12:19:29 +01:00
Bryan Boreham
0bb62ae75a
Merge branch '1.9'
2017-04-10 10:47:42 +00:00
Bryan Boreham
2686be1b93
Update mention of Docker 1.6 to 1.10
2017-04-10 10:45:42 +00:00
Marc Carré
77b193791a
Merge pull request #2853 from weaveworks/kube-smoketest-1.6
...
Update smoke tests for kubernetes 1.6
2017-04-10 11:21:23 +01:00
Bryan Boreham
74a7bef472
Use 'kubeadm reset' instead of replicating it
2017-04-10 09:02:45 +00:00
Bryan Boreham
fc78bf4d11
Update test script to work with kubeadm 1.6
2017-04-10 09:02:45 +00:00
Bryan Boreham
84cdf54079
Build VMs with Kubernetes 1.6.1 and CNI 0.5.1
2017-04-10 09:02:45 +00:00
Marc CARRE
fa08bb9df6
Merge remote-tracking branch 'origin/1.9'
2017-04-07 15:11:38 +01:00