Bryan Boreham
f7c0da3ae1
Merge pull request #2781 from keontang/luanch-update
...
Add CONN_LIMIT environment var for running container
2017-02-23 12:40:01 +00:00
Martynas Pumputis
32d44e09a1
Merge pull request #2787 from weaveworks/issues/2784-preclaim-addresses
...
Claim existing IP addresses at startup with no race condition
Fixes #2784
2017-02-13 17:51:38 +00:00
Bryan Boreham
7075b5d9fd
Extend pre-existing address reclaim to docker containers
2017-02-13 11:30:34 +00:00
Bryan Boreham
e26dbf11e9
Stop collecting addresses in launch script now we do it in Go
2017-02-10 15:11:14 +00:00
Bryan Boreham
39ac1a0037
Collect existing weave addresses at start-up, to avoid a race when
...
doing it from the script
Note we need to run weaver in the host pid namespace, so it can search
for existing container IPs. Also now we are firing off sub-processes
it's better to not be PID 1 so Linux doesn't expect us to reap zombies.
2017-02-10 15:10:02 +00:00
Jiyuan Tang
bee031ad70
Add CONN_LIMIT environment for running container
2017-02-09 19:34:16 +08:00
Adam Harrison
defa5cc3d3
Handle cache.DeleteFinalStateUnknown
2017-02-08 12:48:32 +00:00
Martynas Pumputis
5278eb7ebc
Merge pull request #2747 from weaveworks/issues/2689-npc-mcast-simple
...
Add rule to allow multicast at top level
2017-02-01 18:20:38 +00:00
Martynas Pumputis
60323d0960
Add fastdp crypto
2017-01-31 17:21:01 +00:00
Marc CARRE
ee659d4033
Replace weave/common/mflagext with common/mflagext.
...
Removes duplication between weave and common and reduces the amount of sources to compile.
2017-01-31 10:49:29 +00:00
Marc CARRE
8f9b2a36c0
Remove dep. on docker and use mflag from common.
...
This reduces the number of dependencies, and avoids having docker as a vendored dependency, which should speed the build up.
2017-01-31 10:30:12 +00:00
Tom Wilkie
590a151bde
Move signal handling loop to common.
2017-01-26 17:55:19 +00:00
Lucas Käldström
29eee4e858
Fixing review feedback, adding checksums, etc
2017-01-24 17:24:04 +02:00
Lucas Käldström
454c6f713d
Make Weave Net multi-architecture and add support for ARM and ARM 64-bit
2017-01-24 17:23:00 +02:00
Bryan Boreham
f067c7d44e
Add rule to allow multicast at top level
2017-01-23 12:11:44 +00:00
Adam Harrison
57a250a20b
Pin alpine container version
2017-01-16 12:27:53 +00:00
Bryan Boreham
7d308a4ac5
Wire weaveutil unique-id into weave script
...
Also ensure the right host directories are mounted when create-bridge
is called from either the weave script or weave-kube.
2017-01-11 13:14:35 +00:00
Bryan Boreham
ebcb7f6108
Use persisted peer name if it matches old-style ID
2017-01-11 13:14:35 +00:00
Bryan Boreham
70a20b4d26
Generate peer name / mac address in Go
2017-01-11 13:12:30 +00:00
Bryan Boreham
d143470d77
Refactor: extract db filename to a constant
2017-01-11 13:05:25 +00:00
Bryan Boreham
bf59a003bb
Exec weaver from weave-kube launch rather than running in background
...
So we only have one process running inside the container after all
set-up is finished
2017-01-04 15:00:52 +00:00
Adam Harrison
61d22bb8b4
Merge pull request #2686 from weaveworks/issues/2580-allow-ips
...
Allow docker bridge to have more than one IP address
2017-01-04 14:35:48 +00:00
Adam Harrison
eb3bbff883
Merge pull request #2708 from weaveworks/weave-kube-mounts
...
Mount /etc under a different path for weave-kube
2017-01-04 10:15:54 +00:00
Lucas Käldström
17971a5a3a
Remove the deprecated MAINTAINER field in Dockerfiles for LABEL maintainer instead
...
Also add https://microbadger.com/labels labels and remove LABEL fields where they already are inherited
2016-12-23 14:57:02 +02:00
Bryan Boreham
ea014d1362
Reimplement docker_bridge_ip shell pipeline in Go
2016-12-23 12:10:26 +00:00
Bryan Boreham
a4ad66f1c8
Mount /etc under a different path for weave-kube
...
So we don't accidentally read or write the hosts's /etc.
Also move the other volumes under /host to be more consistent with
what the weave script expects.
2016-12-22 10:35:47 +00:00
Martynas Pumputis
8affa26858
Merge pull request #2695 from weaveworks/issues/2692-consistent-npc-log
...
Change rest of npc to weave common logging
Fixes #2692
2016-12-19 16:41:27 +02:00
Martynas Pumputis
856cb48170
Merge pull request #2685 from weaveworks/issues/2480-correct-mac
...
Take peerName from weave bridge if not specified
Fixes #2480
2016-12-19 16:35:15 +02:00
Bryan Boreham
9261d17dbe
Fix option name
2016-12-13 14:59:45 +00:00
Martynas Pumputis
52f375ac1e
Merge pull request #2663 from weaveworks/issues/2389-report-mtu
...
Add MTU to connection status
Fixes #2389
2016-12-13 11:53:39 +00:00
Bryan Boreham
bbd631f08f
weave-kube no longer needs to supply the peer address
2016-12-09 15:34:31 +00:00
Bryan Boreham
cf315fb6ba
Take peerName from weave bridge if not specified
2016-12-09 15:34:31 +00:00
Bryan Boreham
9c2bc0b825
Add MTU to connection status
2016-12-09 13:59:49 +00:00
Bryan Boreham
bb1cca713d
Merge branch '1.8'
2016-12-08 12:27:40 +00:00
Bryan Boreham
1d80a8d676
Merge pull request #2674 from weaveworks/issues/2650-fix-looping-flows
...
Detect looping flows
2016-12-08 12:27:15 +00:00
Martynas Pumputis
baa8f229f7
Detect enabling of hairpin mode on vethwe-bridge
...
Enabled hairpin mode on vethwe-bridge was one of the root causes
for installing looping flows in the fastdp mode.
Also, it confused the weave custom L2 bridge, as the bridge treats
a bounced back packet, e.g. ARP brodcast request, as a local one
(the case for "Captured a packet associated with remote host").
2016-12-08 11:37:52 +00:00
Adam Harrison
11ff1880e5
Merge pull request #2666 from weaveworks/issues/2633-json-events
...
Log objects via JSON for better debugging
2016-12-07 17:25:55 +00:00
Bryan Boreham
71bf040715
Add --log-level option, default to debug
2016-12-07 11:53:40 +00:00
Bryan Boreham
6a04c6c7bd
Change to weave common logging
2016-12-07 11:53:31 +00:00
Adam Harrison
e1d8992ec5
Merge branch '1.8'
...
Fixes #2673 .
2016-12-07 11:24:13 +00:00
Bryan Boreham
d1712e9589
Re-add expose to ensure it gets run on all nodes
...
Previous change in a07e3301b1 meant that if there are no pods on
this node then the 'expose' never gets run.
2016-12-06 14:58:31 +00:00
Bryan Boreham
ec21afb426
Unify weave and launch.sh CNI setup
...
Test 830 has to run CNI plugin under sudo now
2016-12-06 11:52:09 +00:00
Adam Harrison
cdcf5808db
Remove CNI support from Docker plugin
2016-11-30 10:43:50 +00:00
Bryan Boreham
d501c78795
Merge pull request #2659 from weaveworks/issues/2581-optional-bridge-nf
...
Optional bridge-nf detection
2016-11-28 18:09:40 -08:00
Adam Harrison
e61ddc59c4
Merge branch '1.8'
...
Fixes #2669 .
2016-11-28 11:54:03 +00:00
Bryan Boreham
d6544302d3
Check whether Weave's IP range overlaps something on the host already
2016-11-25 14:43:23 +00:00
Adam Harrison
28bf4e6e95
Optional bridge-nf detection
2016-11-25 12:40:20 +00:00
Adam Harrison
6103595b9c
Merge branch '1.8'
2016-11-23 10:36:53 +00:00
Adam Harrison
01c436ae15
Merge pull request #2642 from weaveworks/fix-launch-version
...
Fix weave-kube launch.sh version usage
2016-11-23 10:36:16 +00:00
Bryan Boreham
937036aa64
Simplify default version string
2016-11-22 15:43:17 +00:00