Bryan Boreham
c8e7dbd600
Pin busybox version to 1.28 to avoid CI issues
2019-08-14 13:59:41 +00:00
Bryan Boreham
b28e2ee384
Merge branch '2.5'
2019-05-29 08:08:41 +00:00
Bryan Boreham
802ede1cd3
Merge branch '2.5'
2019-05-14 09:06:15 +00:00
Bryan Boreham
4c6879679d
Merge pull request #3639 from weaveworks/allowegress
...
lazily add iptables rule to drop egress traffic from the pods only if network policies are applied
2019-05-07 14:38:39 +01:00
Bryan Boreham
d35f2236e1
Merge pull request #3603 from weaveworks/pmtu-message
...
Improve 'expecting PMTU update' message with address
2019-05-07 14:34:12 +01:00
Bryan Boreham
27848992b1
Merge branch '2.5'
2019-05-07 13:32:55 +00:00
Bryan Boreham
690b6ff2cd
Merge pull request #3623 from weaveworks/ensure-cml-initialised
...
Avoid panic on nil map in reclaimPeer()
2019-05-07 14:30:40 +01:00
Bryan Boreham
8a4fc9c02a
Fix peer-list fuzz test to re-fetch list when it may be nil
2019-05-03 17:25:36 +00:00
Bryan Boreham
20d55fe47a
Moved 'expecting PMTU' message to debug level
2019-05-03 15:28:44 +00:00
Bryan Boreham
eb7ba691ee
Fetch storedPeerList after read from Kubernetes
...
This avoids a race condition where the peer has added itself to the
list and the annotation since we read storedPeerList.
2019-04-02 09:11:27 +00:00
Bryan Boreham
15b9b7416a
Re-read peers ConfigMap from Kubernetes at start of every reclaim
...
A previous reclaim may have left the map set to nil.
2019-03-26 17:25:34 +00:00
Bryan Boreham
5024270232
Avoid panic on nil map
...
It can be set to nil after a failed update; check rather than crashing.
2019-03-26 17:20:24 +00:00
Bryan Boreham
bd24dd7dae
Make test harness and comments match Kubernetes behaviour on conflict error
...
Kubernetes always returns nil on error; somehow I had the wrong idea
here.
2019-03-26 17:19:22 +00:00
Bryan Boreham
2c2a074a83
Merge branch '2.5'
2019-03-26 16:49:33 +00:00
Bryan Boreham
698e1b6d87
Improve 'expecting PMTU update' message with address
...
Also remove "EMGSIZE" because it looks like an error in the log file.
2019-02-27 08:49:42 +00:00
Bryan Boreham
b248e021ec
Merge pull request #3457 from weaveworks/release-process-update
...
Update release process doc with minor details
2019-02-13 12:06:54 +00:00
Bryan Boreham
0d481ef0e9
Merge pull request #3597 from weaveworks/grammaticalChangesToReadme
...
small grammatical changes to readme
2019-02-13 10:51:56 +00:00
Bryan Boreham
e23e364476
Merge pull request #3594 from weaveworks/document_weave_log_warning_and_error_levels
...
Document weave log warning and error levels
2019-02-07 16:38:46 +00:00
Bryan Boreham
9654df4d50
Merge pull request #3585 from weaveworks/0peers
...
handle single node case where return peer list from kube-utils is empty
2019-02-04 14:57:13 +00:00
Bryan Boreham
6f39a15b53
Merge pull request #3589 from weaveworks/release-docs
...
fix use of manifest tool in release process
2019-02-04 13:45:23 +00:00
Bryan Boreham
e8f35a848e
Merge pull request #3590 from mkumatag/update_gopacket
...
Vendor update gopacket and unix package
2019-02-03 13:00:54 +00:00
Bryan Boreham
e1e4a7887a
Merge branch '2.5'
2019-01-18 11:20:25 +00:00
Bryan Boreham
9f0ac3dbe7
Merge pull request #3582 from weaveworks/print-peers-error
...
Check and report the error return from getKubePeers()
2019-01-18 10:56:33 +00:00
Bryan Boreham
27178b1c79
Check and report the error return from getKubePeers()
2019-01-15 11:15:36 +00:00
Bryan Boreham
d4d9ba1e35
Merge pull request #3454 from weaveworks/self-peer
...
prevent kubernetes node connecting to self
2019-01-03 16:16:49 +00:00
Bryan Boreham
f6c22ef9b5
Merge pull request #3573 from Rich-Core/revert-ruby-version
...
Revert Ruby version to 2.3.0
2018-12-24 11:59:12 +00:00
Bryan Boreham
928d08fb19
Merge pull request #3413 from weaveworks/connlimit
...
document connection limit
2018-12-05 12:17:02 +00:00
Bryan Boreham
ab1953e8ca
Merge pull request #3461 from dholbach/fix-kubeaddon-link
...
fix link to kube-addon doc
2018-12-05 10:21:06 +00:00
Bryan Boreham
a332af3146
Merge pull request #3453 from weaveworks/issue-3449
...
add --physdev-is-bridged flag when using physdev module for iptables
2018-12-05 10:18:21 +00:00
Bryan Boreham
5e271363cf
Merge pull request #3458 from weaveworks/ruby-236
...
Update Ruby version to match Weaveworks website
2018-12-04 10:13:40 +00:00
Bryan Boreham
6b6580413d
Update Ruby version to match Weaveworks website
...
This file is read when generating previews on Netlify.
2018-11-22 14:29:00 +00:00
Bryan Boreham
583eea1ec5
Update release process doc with minor details
2018-11-22 14:26:18 +00:00
Bryan Boreham
6e3f8a1c7a
Add release v2.5.0
2018-11-05 15:34:36 +00:00
Bryan Boreham
eb77970534
Make build image depend on tools subdir
...
Missed from 0164d24583
2018-11-05 15:33:37 +00:00
Bryan Boreham
f53dfdea61
Merge pull request #3442 from weaveworks/issues/3336-promisc
...
net: Do not set bridge hw addr when creating it
2018-11-01 21:09:34 +00:00
Bryan Boreham
83d9292a5b
Merge branch '2.4'
2018-11-01 14:19:09 +00:00
Bryan Boreham
37bc04f851
Fix master deploy step: run newer manifest-tool and build all architectures
...
The version of manifest-tool in `weshigbee/manifest-tool` is version
0.3.0 and is erroring on every build; latest is 0.8.0 and doesn't error.
Since we are no longer limited to what will run in a container at
CircleCI, also build all architectures.
2018-11-01 12:26:49 +00:00
Bryan Boreham
a5161b28f5
Merge pull request #3399 from weaveworks/rmpeer
...
watch for Kubernetes node delete events and reclaim removed peers IP space on delete event
2018-11-01 11:08:53 +00:00
Bryan Boreham
c6cd5f53db
Merge pull request #3439 from Ashiroq/master
...
Change log-level to debug for proxy access
2018-11-01 11:07:47 +00:00
Bryan Boreham
29bbd321b4
Merge pull request #3431 from weaveworks/issue-3324
...
add checkpoint to include Kubernetes cluster information
2018-11-01 11:06:47 +00:00
Bryan Boreham
ba469bd641
Merge pull request #3415 from weaveworks/db-panic
...
prevent a case where tryOps endsup called recursivley when persisted data exists but has empty data
2018-11-01 11:05:06 +00:00
Bryan Boreham
db697fdaa5
Merge pull request #3435 from weaveworks/issues/fix-golint-import-path
...
Fix and improve build/Dockerfile
2018-10-29 16:37:53 +00:00
Bryan Boreham
1b01da45f5
Merge pull request #3430 from weaveworks/bump-go-odp
...
Bump go-odp dependency
2018-10-17 18:03:44 +01:00
Bryan Boreham
bf9985b0c8
Merge pull request #3423 from weaveworks/issue-3344
...
Replace weave-local-pods ipset with physdev iptables rule
2018-10-17 18:03:26 +01:00
Bryan Boreham
727fe46b2a
Merge pull request #3385 from weaveworks/retry_forwarder
...
Add logic to re-try chooseBest() (which will select best forwarder)
2018-10-16 16:37:31 +01:00
Bryan Boreham
b10af5a6cb
Fix golint path - it moved upstream
2018-10-16 14:04:33 +00:00
Bryan Boreham
965b5c627e
Merge pull request #3421 from weaveworks/2018-09-28-moar-initialDelaySeconds
...
kubernetes: Morph the livenessProbe into readinessProbe
2018-10-16 14:46:34 +01:00
Bryan Boreham
078b76f3f1
Merge pull request #3416 from weaveworks/issue-3386
...
own action to reclaim when peer does not exist
2018-10-05 09:27:46 +01:00
Bryan Boreham
53fd33044a
Merge pull request #3412 from weaveworks/gke
...
add rbac prerequisite for using weave net on GKE
2018-09-26 14:41:59 +01:00
Bryan Boreham
a73330f752
Merge branch '2.4'
2018-09-26 10:20:04 +01:00
Bryan Boreham
427e7a6868
Merge pull request #3408 from weaveworks/issues/3405-tracker-nil-deref
...
ipam: Do not deref nil in GET /ipinfo/tracker if tracker doesn't exist
2018-09-25 12:29:03 +01:00
Bryan Boreham
fc759e2df9
Merge branch '2.4'
2018-09-13 16:59:03 +00:00
Bryan Boreham
1fcd521f67
Add release v2.4.1
2018-09-13 15:25:47 +00:00
Bryan Boreham
008eeb03ad
Improve comments and error checking
2018-09-12 14:11:09 +00:00
Bryan Boreham
41c48dc678
Update test to call reclaimPeer()
2018-09-12 14:11:09 +00:00
Bryan Boreham
09be35dee0
Fetch stored peer list every time round the retry loop
...
This ensures we take account of other peers' updates and closes a race
condition whereby another peer's changes can be overwritten.
2018-09-12 14:11:09 +00:00
Bryan Boreham
c3ad641d94
Refactor: extract reclaimPeer() function
2018-09-12 14:11:09 +00:00
Bryan Boreham
bacb3952a3
Fetch Kubernetes node list every time round reclaim loop
...
If we retain the Kubernetes list for a long time we might see a peer
appear in the Weave list and conclude it has been deleted. We must
always fetch the Kubernetes list after fetching the Weave list, during
deletion.
2018-09-12 14:10:59 +00:00
Bryan Boreham
70257a6c19
Add test for kube-utils peer list
...
- In parallel on several goroutines, randomly add and remove peers.
- Maintain the test's own idea of current state.
- Check that the test's state and kube-utils' state are consistent.
2018-09-12 12:37:16 +00:00
Bryan Boreham
bfe9f00e55
Fake kubernetes API which implements optimistic locking
...
Mostly copied from kubernetes/client-go files
2018-09-12 12:37:16 +00:00
Bryan Boreham
591be2d08f
Refactor: Introduce an interface so weave client can be mocked
2018-09-12 12:37:16 +00:00
Bryan Boreham
c3ce052cc5
Refactor: use Kubernetes.Interface instead of *Clientset
...
So we can call with a mock for testing
2018-09-12 12:35:34 +00:00
Bryan Boreham
7dcd4bdf47
Refactor: extract peerlist fns to new file
2018-09-12 12:35:34 +00:00
Bryan Boreham
2d8373249a
Vendor mock Kubernetes APIs for testing
2018-09-12 12:35:33 +00:00
Bryan Boreham
4979ce1f5f
Update to dep v5
...
This adds more metadata to Gopkg.lock, and seems to have deleted a few
more files.
2018-09-12 12:35:33 +00:00
Bryan Boreham
2ff0bbe150
Reclaim IPs when node name is re-used
...
Change the map used to reclaim peers so it is indexed by PeerName
which should be unique over time, rather than NodeName which can be
re-used. Create an auxilliary set of NodeNames to help.
This way, if we can see that a different peer was previously running
with the same node name, it can be included for reclaim.
2018-09-10 15:10:51 +00:00
Bryan Boreham
231d0c633e
Merge branch '2.4'
2018-09-06 14:24:40 +00:00
Bryan Boreham
a6e1165e71
Merge pull request #3369 from dholbach/fix-3338
...
docs: update ECS references
2018-09-06 14:24:15 +00:00
Bryan Boreham
0e26b4621d
Merge pull request #3369 from dholbach/fix-3338
...
docs: update ECS references
2018-09-06 15:21:26 +01:00
Bryan Boreham
fc211b15e9
Merge pull request #3393 from weaveworks/issues/3392-get-peers-with-no-ip
...
Do not exclude k8s node without any IP addr in reclaim
2018-09-06 15:20:33 +01:00
Bryan Boreham
612e265123
Merge pull request #3391 from weaveworks/debug-log
...
add documentation to enable debug logging
2018-09-06 12:45:58 +01:00
Bryan Boreham
6f26c732f1
Merge pull request #3356 from weaveworks/portmap
...
support for portmap as additional plugin with wave-net
2018-09-05 11:06:58 +01:00
Bryan Boreham
ad4e4238a5
Merge pull request #3360 from dholbach/licenses-fix
...
license: document vendored code which is under LGPL3 and MPL-2.0
2018-08-23 10:44:26 +01:00
Bryan Boreham
d1d618ccb3
SRCDIR removed from this step
2018-08-10 14:02:12 +00:00
Bryan Boreham
80e2ff0353
Adjust for change in docker login command
2018-08-10 13:39:21 +00:00
Bryan Boreham
5b4040704b
Fix CircleCI parse error
...
Also remember to check the source out
2018-08-10 12:51:44 +00:00
Bryan Boreham
c85bc059eb
Merge branch '2.4'
2018-08-10 12:34:04 +00:00
Bryan Boreham
8fb3da6fc8
Merge pull request #3371 from weaveworks/parse-labels
...
Parse labels
2018-08-10 13:33:22 +01:00
Bryan Boreham
55354900da
Remove out-of-date CONTRIBUTORS file
2018-08-09 13:06:34 +00:00
Bryan Boreham
1814bbd2f2
Test container args-parsing code
...
Extract function just to parse args, so we can call it separately and
test it.
2018-08-08 13:24:53 +00:00
Bryan Boreham
374fed4699
Support --label flag on run-container command
2018-08-08 13:24:53 +00:00
Bryan Boreham
e64656d16f
Specify https for security
2018-08-02 10:11:42 +00:00
Bryan Boreham
e3231bb373
Stop running VM creation in the background
...
There's nothing else happening in parallel in this step now.
2018-07-30 10:19:28 +00:00
Bryan Boreham
44e0c6add7
Try to fix failing test 840
2018-07-30 10:19:28 +00:00
Bryan Boreham
1a8794e90f
Run coverage analysis in separate step, and save results
...
Remove CircleCI 1.0 implementation which used scp to contact other
lanes.
Note we can't use an env var in store_artifacts clause
2018-07-30 10:18:57 +00:00
Bryan Boreham
e3576e13a7
Don't copy the source directory somewhere else
2018-07-30 10:16:18 +00:00
Bryan Boreham
b3e77e81ea
Split into several jobs
...
Run build, lint and unit-test steps in a container, using a pre-built
image to save rebuilding at CircleCI
Move a couple of scripts up to config.yml for clarity
2018-07-30 10:16:18 +00:00
Bryan Boreham
b13eb5ada5
Run gen_coverage as a 'deploy'
2018-07-30 10:16:18 +00:00
Bryan Boreham
6337972c8a
Don't need to pipe background commands to file in Circle 2.0
2018-07-30 10:16:18 +00:00
Bryan Boreham
8620d0ae4f
Change CircleCI config to 2.0 version
...
Environment variables are moved out to a script, because CircleCI 2.0
does not support expansion of '$foo' in 'env' section.
2018-07-30 10:16:18 +00:00
Bryan Boreham
fc77e33d1d
Move circleci config to 2.0 location
2018-07-30 10:09:07 +00:00
Bryan Boreham
0164d24583
Tag build image with current git commit
2018-07-30 10:09:07 +00:00
Bryan Boreham
76ee9874d6
Add coverage commands to build image
2018-07-30 10:09:07 +00:00
Bryan Boreham
3699f89b98
Add docker command to build container
2018-07-30 10:09:07 +00:00
Bryan Boreham
911751d0c1
Remove docs-only support in CI - docs moved to Netlify
2018-07-30 09:22:34 +00:00
Bryan Boreham
90a81ce736
Merge pull request #3319 from weaveworks/weave-reset-err
...
Make error "Weave is not running" less confusing when running on Kubernetes
2018-07-24 10:18:24 +01:00
Bryan Boreham
9cf0dd1b87
Merge pull request #3313 from weaveworks/issues/2624-egress-npc
...
Implement Egress NPC
2018-07-24 10:17:45 +01:00
Bryan Boreham
88616007b0
Merge pull request #3353 from louismunro/fix_xtables_lock
...
Fix xtables.lock race condition between weave and kube-proxy.
2018-07-23 13:35:26 +01:00
Bryan Boreham
b8ce722a2c
Merge pull request #3346 from murali-reddy/issue-3206
...
3206: Protect against CNI plugin being called with the host namespace
2018-07-19 12:02:49 +01:00
Bryan Boreham
b8fa4af06a
Merge branch '2.3'
2018-07-17 12:25:49 +01:00