Bryan Boreham
56491b35f1
Go 1.13 needs different static linking flags
...
We don't need to pre-build the Go standard library or use -i flag
either - Go sorts that all out for us now.
2019-10-15 09:29:38 +00:00
Bryan Boreham
dd70668b89
Update tools submodule to latest commit f041a74ffbf2
2019-10-15 09:29:38 +00:00
Bryan Boreham
e5441b44e9
Bump Go version in build container to 1.13.1
2019-10-15 09:27:45 +00:00
Bryan Boreham
cb4a8769a8
Merge pull request #3708 from weaveworks/3693-split-ranges
...
Handle range wrap-around when checking for allocations
2019-10-15 09:19:37 +01:00
Bryan Boreham
62c1d28524
Merge pull request #3716 from weaveworks/870-flake
...
Randomise wait to reclaim IPs on node deletion, and fix flaky test 870
2019-10-15 09:17:04 +01:00
Bryan Boreham
92b21ccd44
Merge pull request #3710 from weaveworks/exclude-self
...
Exclude myself when building a list of peers that may need deleted
2019-10-15 08:41:21 +01:00
Bryan Boreham
88cd86a5f2
Add checksum file for s390x qemu binary
2019-10-12 12:45:17 +00:00
Bryan Boreham
b18c88524d
Merge branch '2.5'
2019-10-12 11:10:09 +00:00
Bryan Boreham
90e0c43bf2
Add a note on how to secure the Kubernetes Addon configuration.
...
Original author Vladimir Pouzanov <farcaller@google.com >
2019-10-12 11:08:57 +00:00
Bryan Boreham
4215618177
Merge pull request #3447 from farcaller/patch-1
...
Add a note on how to secure the configuration.
2019-10-12 12:02:46 +01:00
Bryan Boreham
cb5798f94d
Merge pull request #3697 from christian-2/system-node-critical
...
mark pods weave-net with priorityClassName: system-node-critical
2019-10-12 12:00:13 +01:00
Bryan Boreham
79e032c984
Reduce time test script waits for IPs to be reclaimed
...
Now we have a callback when a node is removed, there should be no
reason to wait 90 seconds.
The reclaim does wait up to 5 seconds before starting, so allowing 10
seconds in the script should be sufficient.
2019-10-11 20:29:58 +00:00
Bryan Boreham
821b787774
Move printing of node addresses after reclaim loop
...
Otherwise we see all the node addresses in the middle of the log.
2019-10-11 20:29:58 +00:00
Bryan Boreham
3ed7894e39
Debug log the node-deletion event
...
So we know when it came in, also which node.
2019-10-11 20:29:58 +00:00
Bryan Boreham
30ed34bd2c
Shut down Kubernetes in test of deleted node
2019-10-11 20:29:58 +00:00
Bryan Boreham
f5c2f51964
Use a different seed for random numbers each run
...
Without this, each run gets the same random numbers so all nodes are
racing to remove the deleted node.
2019-10-11 20:29:58 +00:00
Bryan Boreham
4d7f0f5014
Merge pull request #3685 from linux-on-ibm-z/s390x-crossbuild-support
...
Build with Go 1.12.7; Added support for crossbuilding s390x binaries and images
2019-10-10 18:00:23 +01:00
Bryan Boreham
d1ed6c5747
Exclude myself when building a list of peers that may need deleted
...
We already avoid actually doing the delete, but adding this check
stops the program logging that it was thinking about it.
2019-10-10 13:22:20 +00:00
Bryan Boreham
44f91950cb
Improve logging of ring merge
...
Turn some Sprint() calls into `%v` in the outer format string.
Remove one debug log line on duplicate token, since that info is already logged.
Add an Info log line when we accept another peer's token, since that
should be a rare event, and it's important if we've made a mistake.
2019-10-10 11:14:41 +00:00
Bryan Boreham
d2f0287fa3
Handle range wrap-around when checking for allocations
...
Ring wraps around at zero but Space doesn't know about this, so we
have to normalise ranges coming out of Ring. In turn we may need to
split one range into two, across the end of the Ring.
2019-10-10 11:14:41 +00:00
Bryan Boreham
9c09e36135
refactor: extract function to normalise a single range that may span zero
2019-10-10 11:13:47 +00:00
Bryan Boreham
cb8e06c994
Merge branch '2.5'
2019-10-03 16:58:07 +00:00
Bryan Boreham
753c7cce1e
Merge pull request #3705 from weaveworks/buffer-docker-events
...
Use buffered chan to avoid losing docker events
2019-10-03 14:01:14 +01:00
Bryan Boreham
30b2bada28
Merge pull request #3701 from weaveworks/issues/3698-alpine-3-8
...
Bump Alpine version to 3.8
2019-10-02 15:52:06 +01:00
Bryan Boreham
eeec3833a3
Merge pull request #3692 from sidharthsurana/fix-dnspolicy
...
Change the dnsPolicy for the weave-net pods to ClusterFirstWithHostNet
2019-10-02 14:57:27 +01:00
Bryan Boreham
ee47f0c3ee
Use buffered chan to avoid losing docker events
...
Docker imposes a limit that events have to be retrieved within 100ms
or they are dropped on the sending side. Adding buffer space within
the Weave Net process allows those events to be collected from Docker
more quickly.
1024 is an arbitrary number, much higher than we expect to need.
2019-09-30 15:16:24 +00:00
Bryan Boreham
36a2146ed8
Bump Alpine version to 3.8
2019-09-23 18:17:53 +00:00
christian-2
6afedb881c
mark pods weave-net with priorityClassName: system-node-critical
...
* fixes #3691
* `weave-daemonset-k8s-1.11.yaml` is `weave-daemonset-k8s-1.9.yaml` plus `priorityClassName: system-node-critical`
* notice that a Kubernetes cluster created with `kubeadm` has its `kube-proxy`s marked as `system-node-critical` (and several other pods, such as `kube-apiserver` marked as `system-cluster-critical`)
2019-09-04 14:16:46 +02:00
Bryan Boreham
05ab1139db
Merge pull request #3669 from hpdvanwyk/issue-3666
...
Fix incorrect xfrm policy being deleted by ipsec.Destroy().
2019-09-02 11:48:08 +01:00
Sidharth Surana
e90cbf290b
Change the dnsPolicy for the weave-net pods to ClusterFirstWithHostNet
2019-08-30 10:12:57 -07:00
Bryan Boreham
1e0431f6b2
Merge pull request #3674 from weaveworks/weave-daemonset
...
delete weave-daemonset.yaml
2019-08-30 10:25:45 +01:00
Bryan Boreham
9971fc3dac
ÂAdd a note about incompatibility with iptables 1.8
2019-08-29 16:24:07 +00:00
Bryan Boreham
7aa7e3c00d
Merge pull request #3654 from kitt1987/fix-issue-3653
...
Fix iptable rules generated for Ingress NetworkPolicy when both port and IP block specified
2019-08-29 14:46:35 +01:00
Bryan Boreham
a4dd7fa198
Merge branch '2.5'
2019-08-29 13:38:15 +00:00
Bryan Boreham
e2157a5d04
Merge pull request #3676 from hpdvanwyk/issue-3675
...
Do not do ipsec.InitSARemote on a stopped fastDatapathForwarder.
2019-08-29 13:58:37 +01:00
Daniel Holbach
fc199d0df5
Answer how Weave Net works
...
Actually Bryan answered it, when a reader of our website asked.
Signed-off-by: Daniel Holbach <daniel@weave.works >
2019-08-29 12:36:32 +00:00
Bryan Boreham
cc6d10c9b1
Pin busybox version to 1.28 to avoid CI issues
2019-08-29 12:23:25 +00:00
Bryan Boreham
ace2c12608
Merge pull request #3660 from Pensu/daemonset_api
...
Move daemonset API to apps/v1
2019-08-29 13:11:57 +01:00
Bryan Boreham
57c464d60e
Merge pull request #3679 from weaveworks/how-does-it-work
...
Answer how Weave Net works
2019-08-29 12:48:37 +01:00
Daniel Holbach
65b3894a8e
Answer how Weave Net works
...
Actually Bryan answered it, when a reader of our website asked.
Signed-off-by: Daniel Holbach <daniel@weave.works >
2019-08-29 11:47:28 +00:00
Bryan Boreham
77bfa6a7e4
Remove references to weave-daemonset.yaml from release script and docs
2019-08-29 11:37:55 +00:00
Murali Reddy
9d485d0f21
delete weave-daemonset.yaml which predates the manifest weave-daemonset-k8s-1.6/1.7/1.8.yaml
...
naming is counter intutive
2019-08-29 11:37:55 +00:00
Peeyush Gupta
991945081a
Move daemonset API to apps/v1
2019-08-29 13:57:16 +05:30
Bryan Boreham
123762ec8d
Merge pull request #3673 from weaveworks/slack-channel
...
add net-dev as channel to ask question regarding weave-net
2019-08-28 11:13:15 +01:00
Bryan Boreham
b07db6479a
Merge pull request #3655 from tanishq-dubey/master
...
Add tolerations for nodes tainted with NoExecute
2019-08-28 11:11:26 +01:00
Bryan Boreham
d3f62905b7
Merge pull request #3683 from ReillyProcentive/fix-issue-3342
...
Add wrapper script to weave-npc
2019-08-28 11:03:30 +01:00
Bryan Boreham
22b3393cfd
Merge pull request #3689 from weaveworks/3680-pin-busybox
...
Pin busybox version to 1.28 to avoid CI failure in Python test
2019-08-19 14:08:05 +01:00
Bryan Boreham
c8e7dbd600
Pin busybox version to 1.28 to avoid CI issues
2019-08-14 13:59:41 +00:00
Reilly Brogan
ef26b306e4
Forgot to make this change
2019-08-08 14:52:29 -05:00
Reilly Brogan
1588a7259d
add newline
2019-08-08 14:43:48 -05:00