Bryan Boreham
f684ea563d
Merge branch '1.9'
2017-05-04 11:13:46 +00:00
Bryan Boreham
041b6fe251
Add release v1.9.5
2017-05-04 08:49:15 +00:00
Bryan Boreham
88cb871654
Merge pull request #2922 from weaveworks/coc
...
Add code-of-conduct.md pointing to CNCF CoC
2017-05-04 09:38:56 +01:00
Bryan Boreham
7c8f33f525
Add checkpoint flag per connection type
2017-05-03 16:56:49 +00:00
Bryan Boreham
cb8599ebd5
One more doc to update
2017-05-03 16:36:43 +00:00
Bryan Boreham
7714952574
Merge branch '1.9'
2017-05-03 16:35:42 +00:00
Bryan Boreham
15bf6eab1e
Merge pull request #2925 from weaveworks/doc-search-tag
...
added search tag type
2017-05-03 17:35:00 +01:00
Bryan Boreham
b19f2df6f8
Improve hairpin log messages
2017-05-03 14:35:20 +00:00
Bryan Boreham
b3ac56e3d2
Update mesh library and check for errors newly returned
2017-05-03 11:08:28 +00:00
Bryan Boreham
73a0df56b2
Bump Kubernetes to 1.6.2
2017-05-02 12:49:21 +01:00
Bryan Boreham
280a0fed69
Add code-of-conduct.md pointing to CNCF CoC
2017-05-02 08:55:32 +00:00
Bryan Boreham
24c2743a58
Check addresses are IPv4 in kube-peers
2017-04-28 11:05:38 +00:00
Bryan Boreham
264a2cd2ad
Remove plugin socket from mounted host directory
2017-04-27 22:17:37 +00:00
Bryan Boreham
907ba8f53b
Quote arg in test function
2017-04-27 21:56:04 +00:00
Bryan Boreham
d2cbb2749e
Move plugin network creation from shell script to Go
...
In the process, use the default subnet instead of the whole IP
allocation range.
2017-04-27 17:07:59 +00:00
Bryan Boreham
eab5ec206a
Merge branch '1.9'
2017-04-27 14:29:29 +00:00
Bryan Boreham
b49f5bdb99
Merge pull request #2916 from ocadotechnology/allow-for-externalip
...
fix(kube-peers): Add support for ExternalIP addresses
2017-04-27 15:29:02 +01:00
Bryan Boreham
f517a09f0f
Create WEAVE-NPC chain in the correct table
2017-04-26 17:04:36 +00:00
Bryan Boreham
34642a04a4
Merge pull request #2914 from weaveworks/upgrade-go-1.8.1
...
Upgrade Go version to 1.8.1.
2017-04-26 15:51:18 +01:00
Bryan Boreham
a16ad4d6e6
Merge pull request #2913 from weaveworks/remove-old-logic
...
Remove obsolete validation and warning
2017-04-25 14:22:26 +01:00
Bryan Boreham
334974472d
Rename router.Bridge to router.InjectorConsumer
...
since what it does it injects and consumes packets, and something else
entirely does bridging.
2017-04-25 11:03:32 +01:00
Bryan Boreham
4f7d476907
Only do set-up on bridge/datapath devices once at creation time
...
This is a change to the previous behaviour, but makes the code easier
to read and seems more sensible.
2017-04-24 16:48:19 +00:00
Bryan Boreham
a731d47d97
Rename bridge detection/creation functions
2017-04-24 16:42:05 +00:00
Bryan Boreham
44beed4027
Refactor decision logic for initial bridge type
2017-04-24 16:26:16 +00:00
Bryan Boreham
9fd1a43769
Put back some weave bridge options
...
ability to set MTU was lost in an earlier change
2017-04-24 14:55:53 +00:00
Bryan Boreham
1c6abbbe41
Merge pull request #2909 from weaveworks/remove-deprecated-dns-cmds
...
Remove deprecation warnings for `launch-dns` and `stop-dns` commands
2017-04-24 11:34:23 +01:00
Bryan Boreham
3bdea732fc
Remove documentation of separate args to plugin
...
since it has been merged into the `weaver` process
2017-04-24 10:00:32 +00:00
Bryan Boreham
05d9cf8235
Remove some things we don't want in the v2 plugin image
2017-04-20 16:43:42 +00:00
Bryan Boreham
108f4784a6
Add back check for datapath supported
2017-04-20 16:12:42 +00:00
Bryan Boreham
a7feb41e62
Replace switch statements with Bridge polymorphism
2017-04-20 15:57:49 +00:00
Bryan Boreham
fddb3ee06e
Review feedback
2017-04-20 15:57:49 +00:00
Bryan Boreham
c59c86c660
Only publish "latest" tag on v2 plugin if explicitly told to
...
For V2 plugin, "latest" means "latest stable release", to make
instructions simple for end-users. So we don't want to overwrite
"latest" with a random build by accident.
2017-04-20 10:43:16 +00:00
Bryan Boreham
8f02c81f16
Update docs for change where proxy no longer calls attach-router
2017-04-18 10:45:05 +00:00
Bryan Boreham
b3fac8ed6a
Remove deprecation warnings for things removed a long time ago
2017-04-17 19:48:21 +00:00
Bryan Boreham
3574da267b
Remove -enforce_docker_bridge_addr_assign_type no longer used
2017-04-17 19:41:47 +00:00
Bryan Boreham
c929b2d5f9
ip netns and nsenter no longer called by weave script
2017-04-17 19:41:47 +00:00
Bryan Boreham
f479e57870
Remove attach-router since it no longer does anything
2017-04-17 19:41:47 +00:00
Bryan Boreham
ae625a18c8
Move awsvpc bridge expose from weave script to Go code
2017-04-17 19:41:47 +00:00
Bryan Boreham
41a261bdcd
Add conversion from CIDR to IPNet
2017-04-17 19:41:47 +00:00
Bryan Boreham
4ad1c22ef6
Move initial DNS population into Go code
2017-04-17 19:41:47 +00:00
Bryan Boreham
ef9f95f653
Let weaver create the bridge in weave-kube
2017-04-17 19:41:47 +00:00
Bryan Boreham
3b54372eab
Let weaver create the bridge in net-plugin launch
2017-04-17 19:41:47 +00:00
Bryan Boreham
f05bb6c4e0
Don't assume we always run in in host pid space
...
Pass the path to the proc filesystem down
2017-04-17 19:41:47 +00:00
Bryan Boreham
c8e0c12d34
Move AWSVPC sysctls into Go code
2017-04-17 19:41:47 +00:00
Bryan Boreham
ab380ed2c1
Set weave bridge address and mtu
...
including the dance with the dummy interface to get MTU set high
2017-04-17 19:41:47 +00:00
Bryan Boreham
9494f0655d
More meaningful errors
2017-04-17 19:41:47 +00:00
Bryan Boreham
c3a41286fd
Use the bridge name passed in on the command-line more
2017-04-17 19:41:47 +00:00
Bryan Boreham
8297652204
Read our peerName from persistence file if necessary
...
Mount directories for machine ID files into weave container
2017-04-17 19:41:47 +00:00
Bryan Boreham
a26fc67ded
New way of initializing; remove --iface option
2017-04-17 19:41:47 +00:00
Bryan Boreham
abadbf883a
AWSVPC mode now part of BridgeConfig
2017-04-17 19:41:47 +00:00
Bryan Boreham
833eb6166f
Add AWSVPC bridge type
2017-04-17 19:41:47 +00:00
Bryan Boreham
e7e3608642
Move creation of bridge inside router
2017-04-17 19:41:47 +00:00
Bryan Boreham
dd232775e6
Move expect-npc setup from weave script to Go code
2017-04-17 19:41:47 +00:00
Bryan Boreham
a8eb7966b6
Wire up enforce_docker_bridge_addr_assign_type
2017-04-17 19:41:47 +00:00
Bryan Boreham
8051f51d46
Move bridge-creation code from weave script into Go code
...
via weaveutil create-bridge function
2017-04-17 19:41:47 +00:00
Bryan Boreham
6fd9f471ff
Bridge setup iptables rules
2017-04-17 19:41:47 +00:00
Bryan Boreham
2d037d874c
MTU selection closer to weave script
...
Note that if initFastdp sets the MTU for the datapath then the same
value is used for the bridge also.
2017-04-17 19:41:47 +00:00
Bryan Boreham
8e5384ee01
Create pcap veth for no-fastdp operation
2017-04-17 19:41:47 +00:00
Bryan Boreham
f5d0a277fb
Move canonicalisation and checking of DNS entries into nameserver
2017-04-17 19:41:47 +00:00
Bryan Boreham
986a3f8079
Pass bridge name into awsvpc
2017-04-17 19:41:47 +00:00
Bryan Boreham
de4ec23809
Remove unused check_docker_server_api_version()
...
The last code that called it was removed in 1f42a9d2f9
2017-04-17 19:29:28 +00:00
Bryan Boreham
a072cf2e0a
Merge pull request #2894 from weaveworks/fix-typo-plugin
...
Fix typo: 'JSON encode payload' -> 'JSON encoded'.
2017-04-13 12:28:07 +01:00
Bryan Boreham
54c95c04af
Stop trying to publish the old plugin container
2017-04-13 11:13:24 +00:00
Bryan Boreham
c42400de4f
Remove warning about create-bridge not working with fastdp
...
This hasn't been true for a long time.
2017-04-13 10:15:08 +00:00
Bryan Boreham
9b5cef9167
Stop and reset old weaveplugin container
...
in case user has upgraded from <v2.0 and left it running
2017-04-13 09:14:04 +00:00
Bryan Boreham
6081c400fb
Print special 'removed' message on launch-plugin and stop-plugin
2017-04-13 09:13:50 +00:00
Bryan Boreham
cb339523de
Remove mentions of deleted commands
2017-04-13 09:03:26 +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
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
Bryan Boreham
090878c157
Implement GetCapabilities on IPAM interface to eliminate warning message
2017-04-12 10:19:06 +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
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
Bryan Boreham
ef0dae4ed3
Simple example is only on two hosts
2017-04-10 11:37:06 +00: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
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
Bryan Boreham
877658d22e
Merge pull request #2886 from weaveworks/lock-kubeadm-version
...
Lock kubeadm's Kubernetes version
2017-04-06 14:37:58 +01:00