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
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
Bryan Boreham
47cdf2b755
Simplify version sed
2016-11-22 15:42:53 +00:00
Bryan Boreham
d5f1c233bf
Remove punctuation from the end of error messages
...
to placate the linter
2016-11-18 10:40:41 +00:00
Adam Harrison
915638d17a
Address linter failures
2016-11-14 15:13:19 +00:00
Bryan Boreham
15d91c558b
Quote version string which may contain spaces, etc
2016-11-14 12:49:00 +00:00
Bryan Boreham
ffc5a78139
Add code-coverage options to weaver version call
2016-11-14 12:42:17 +00:00
Bryan Boreham
f8693074a3
Move CNI config file to the end of launch script
...
So something waiting for the config (e.g. Kubernetes) doesn't try to
talk to Weave before then (this only helps on first install, but that
tends to be when things are busiest).
2016-11-14 12:37:42 +00:00
Bryan Boreham
e458c11e66
Weave script calls Go implementation of expose_nat
2016-11-14 12:37:42 +00:00
Bryan Boreham
a07e3301b1
Add 'weave expose' NAT iptables rules inside CNI plugin
...
This avoids a race between the plugin and the script
2016-11-14 12:37:42 +00:00
Marc CARRE
b03b3fccc7
Fixes 2537: status now prints 'failed to check latest version' when the checkpoint API is not available (+test).
2016-11-09 17:46:52 +00:00
Adam Harrison
ea82a6715f
Merge pull request #2569 from weaveworks/weave-kube-smoke-test
...
weave-kube smoke test
2016-11-04 12:58:20 +00:00
Adam Harrison
9d05ed41b2
Change default NPC metrics port
2016-11-04 12:31:01 +00:00
Marc CARRE
da2f0803ce
Add support for atomic and versioned upgrades of CNI plugin.
2016-11-04 11:54:22 +00:00
Bryan Boreham
6dde5e5ee9
Add code-coverage options to weaver start
2016-11-04 10:52:36 +00:00