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
Bryan Boreham
7f1945f06e
Remove mention of Kubernetes 1.6 from docs: it's very old now
2018-07-17 12:24:20 +01:00
Bryan Boreham
ea8f041a20
Fix indentation of TOC
2018-07-17 11:38:09 +01:00
Bryan Boreham
52e8cdb011
Merge pull request #3348 from weaveworks/check-running
...
Add instructions to check weave-kube logs
2018-07-17 11:35:29 +01:00
Bryan Boreham
ac9f47783c
Review feedback
2018-07-17 10:24:26 +01:00
Bryan Boreham
08dc649b9a
Merge branch '2.3'
2018-07-12 08:58:54 +00:00
Bryan Boreham
bb1a373272
Add instructions to check weave-kube logs
...
"Check it is running" and "check the logs" are important steps when
troubleshooting.
2018-07-12 08:53:02 +00:00
Bryan Boreham
26792283ab
Merge pull request #3328 from weaveworks/minikube-docs
...
Add minikube caveat to docs
2018-07-05 13:39:06 +01:00
Bryan Boreham
32a92a4695
Add --force flag to kubeadm reset
2018-06-28 10:26:09 +00:00
Bryan Boreham
3bea2ae419
Bump to Kubernetes 1.11
2018-06-28 09:25:56 +00:00
Bryan Boreham
d513e68fab
Add permissions to set node status
...
This is needed to update the node NetworkUnavailable conditon
see https://github.com/weaveworks/weave/issues/3249
2018-06-21 11:08:27 +00:00
Bryan Boreham
cf66c8d507
Don't remove myself when reclaiming
...
Some logs from users show an entry of X with annotation X, which
suggests we have gone down the path of removing ourselves. This change
avoids that possibility.
2018-06-12 11:52:03 +00:00
Bryan Boreham
318bb767a5
Merge pull request #3320 from weaveworks/manifest-tool-make
...
Fix manifest-tool cmd in Makefile
2018-06-12 10:48:30 +01:00
Bryan Boreham
ad6148f0f6
Break out of kube rm peers loop if nothing changes
...
Avoid getting into an infinite loop if some of the logic or underlying
data is bad
2018-06-12 08:31:35 +00:00
Bryan Boreham
62c949df6e
Merge pull request #3316 from weaveworks/fix-makefile
...
Fix $HOME usage in Makefile
2018-06-11 16:39:36 +01:00
Bryan Boreham
8e374d9416
D'oh
2018-06-11 13:52:15 +00:00
Bryan Boreham
812c58297f
Merge pull request #3298 from weaveworks/issues/2924-preserve-src-ip-on-local
...
2924: Preserve the client source IP
2018-06-11 13:21:12 +01:00
Bryan Boreham
2a04df1049
Rename "kube-peers" to "kube-utils"
...
It's now doing things like network status that are outside of the
scope of "peers".
2018-06-11 11:22:07 +00:00
Bryan Boreham
5ff22a1a77
Review feedback: tidied up function names
2018-06-04 13:28:28 +00:00
Bryan Boreham
9b0d1bd054
Set Kubernetes NodeNetworkUnavailable to false when starting
2018-05-26 14:06:57 +00:00
Bryan Boreham
4c1c2a5661
Add --max-list-size option for ipset lists
...
and default it to 1024 for cases where the size is fixed by the kernel
2018-05-25 17:24:22 +00:00
Bryan Boreham
791d9aecfc
Extend k8s test to cover namespaceSelector and >10 Namespaces
2018-05-25 17:24:22 +00:00
Bryan Boreham
48aaac90fb
Merge pull request #3277 from weaveworks/ml-release-docs
...
Add instruction for validating whether imgs were pushed for all platforms
2018-05-23 13:51:38 +01:00
Bryan Boreham
1ee4039681
Add build constraint for go1.10 onwards
2018-05-03 07:15:36 +01:00
Bryan Boreham
3203814940
Merge pull request #3283 from weaveworks/note-ip-forward
...
Add note about ip forward setting
2018-05-02 13:58:32 +02:00
Bryan Boreham
acc8c33260
Merge pull request #3284 from weaveworks/docs-k8s-src-ip
...
Add docs/k8s-src-ip.md
2018-05-02 13:58:15 +02:00
Bryan Boreham
22ecf505e3
Added note about security implications of enabling IP forwarding
2018-05-02 06:06:58 +01:00
Bryan Boreham
c2c14410d2
Remove subprocess for changing netns
...
Now that Go 1.10 has removed the issue which made us do this.
2018-04-30 23:40:59 +01:00
Bryan Boreham
7b46391e30
Add vendor instructions
2018-04-27 14:34:49 +01:00
Bryan Boreham
ae551cafea
Run manifest-tool from a container image
...
The source code has incompatible dependencies so we can't build it.
2018-04-27 14:34:49 +01:00
Bryan Boreham
672c770dbe
Rework /report handler to pull format from URL
...
Otherwise test 150 would fail - Gorilla mux was not handling a newline
in the format parameter. This way you also get a better error if you
have an error in the parameter - instead of a 404.
2018-04-27 14:34:49 +01:00
Bryan Boreham
847046a225
Update to match upstream changes
2018-04-27 14:34:48 +01:00
Bryan Boreham
4da998ab45
Move to lower-case logrus import
2018-04-27 14:34:48 +01:00
Bryan Boreham
b534ea60f5
Copy dependencies into vendor dir, using dep
2018-04-27 14:34:48 +01:00
Bryan Boreham
549ccff5eb
Don't need to update submodules to build exes
2018-04-27 14:34:47 +01:00
Bryan Boreham
9cf6749b2e
Remove vendor submodules
2018-04-27 14:34:47 +01:00
Bryan Boreham
391b55ceaf
Add note about ip forward setting
2018-04-23 14:24:44 +01:00
Bryan Boreham
e05345d3bb
Add instructions for 'seeded by different peers' message
2018-04-17 10:24:00 +01:00
Bryan Boreham
fcb6f762a9
Review feedback
2018-04-09 13:42:09 +01:00
Bryan Boreham
5645f31934
Update docs for metrics endpoints
2018-04-09 13:11:29 +01:00
Bryan Boreham
a7295e2d03
Mention metrics and status addresses in the docs
2018-04-09 11:55:50 +01:00
Bryan Boreham
c3e6ac2cac
Merge pull request #3273 from weaveworks/go1.10.1
...
Use go1.10.1 for building
2018-04-09 11:40:11 +01:00
Bryan Boreham
81b2f2e15a
Merge pull request #3266 from weaveworks/test-k8s-1-10
...
Update tests to run against Kubernetes 1.10
2018-04-04 15:17:42 +01:00
Bryan Boreham
f6fdaf6492
Only expose metrics by default in weave-kube
2018-04-04 15:00:53 +01:00
Bryan Boreham
519c5d686a
Remove test for k8s 1.6 which breaks on 1.10
2018-04-04 12:26:18 +01:00
Bryan Boreham
f7e62ccbcc
Bump Kubernetes to 1.10
2018-04-04 12:26:09 +01:00
Bryan Boreham
19161c0c92
Merge branch '2.2'
2018-03-30 19:17:18 +00:00
Bryan Boreham
c528303841
Merge pull request #3265 from weaveworks/raise-kube-conn-limit
...
Raise weave-kube default connection limit from 30 to 100
2018-03-28 10:20:30 +01:00
Bryan Boreham
a439288765
Raise weave-kube default connection limit from 30 to 100
...
This was missed from 265bfcf
2018-03-27 21:06:41 +00:00
Bryan Boreham
416410912d
Merge pull request #3263 from weaveworks/faq-unique-peers
...
Add 'peer names collision' to FAQ
2018-03-23 15:14:21 +00:00
Bryan Boreham
b3f26f00e2
Add some hints how to set the unique ID
2018-03-23 14:55:54 +00:00
Bryan Boreham
90e6ecdd11
Add 'peer names collision' to FAQ
2018-03-23 14:10:05 +00:00
Bryan Boreham
8afc6f208d
Merge pull request #3253 from NathanHaim/issues/3245_change_golang_version
...
Update golang version to 1.10
2018-03-12 12:11:30 +00:00
Bryan Boreham
20eee3818e
Merge pull request #3236 from weaveworks/apk-ca-certs
...
Install ca-certificates instead of copying them
2018-02-28 17:00:31 +00:00
Bryan Boreham
94cd6226ea
Merge branch '2.2'
2018-02-28 16:58:22 +00:00
Bryan Boreham
5534ecf1b1
Merge pull request #3237 from weaveworks/issues/3222-dst-selector
...
Fix bug when dstSelector is overwritten by srcSelector
2018-02-28 16:56:07 +00:00
Bryan Boreham
d498df3933
Merge branch '2.2'
2018-02-28 10:32:45 +00:00
Bryan Boreham
75bf62ca80
Merge pull request #3234 from weaveworks/raise-conn-limit
...
Raise default connection limit from 30 to 100
2018-02-26 17:15:56 +00:00
Bryan Boreham
ce9c5162bd
Merge pull request #3238 from weaveworks/fix-k8s-weave-passwd-howto
...
Fix HOWTO for setting weave-kube passwd
2018-02-04 16:29:14 +00:00
Bryan Boreham
ea3aba8971
Wait 5 seconds to let pod connect before rolling next pod
2018-01-31 10:54:07 +00:00
Bryan Boreham
265bfcf9d7
Raise default connection limit from 30 to 100
2018-01-31 10:48:05 +00:00
Bryan Boreham
7a9fae5892
Add release v2.2
2018-01-30 12:10:05 +00:00
Bryan Boreham
e7f30106c0
Pass the WeaveDNS Domain into the proxy
...
instead of obtaining it via the http api
2018-01-29 15:55:36 +00:00
Bryan Boreham
86d2800b59
Make proxy use configured WeaveDNS address
...
rather than assuming it is listening on the weave bridge
2018-01-29 15:55:36 +00:00
Bryan Boreham
e65006042d
Remove obsolete --dns-effective-listen-address parameter
...
it was needed when we ran inside a container network namespace
2018-01-29 15:55:36 +00:00
Bryan Boreham
65efc89b78
Merge pull request #3227 from weaveworks/issues/3223-update-miekgdns
...
Update miekg/dns to 1.0.4
2018-01-29 15:49:45 +00:00
Bryan Boreham
ae38834507
Merge pull request #3229 from weaveworks/k8s-1.9
...
Update k8s in CI to 1.9.2 and fix flaky tests
2018-01-29 15:49:06 +00:00
Bryan Boreham
d528196033
Merge pull request #3224 from weaveworks/fix-ipt-rules-order
...
Fix subnet isolation and bump build-tools to latest
2018-01-29 15:19:13 +00:00
Bryan Boreham
bb961489b0
Merge branch '2.1'
2018-01-12 10:47:29 +00:00
Bryan Boreham
d6ae1f8375
Add CONN_LIMIT to kube-addon docs
2018-01-12 09:48:30 +00:00
Bryan Boreham
5a1361167e
Move our rules to the top of the FORWARD chain
...
We want our DROP rule to be executed ahead of any ACCEPT rules which
might have been added by another program on the system.
2018-01-11 15:35:19 +00:00
Bryan Boreham
4d5172f67e
Run test with Kubernetes 1.8.5 and --cluster-cidr
2018-01-11 15:24:25 +00:00
Bryan Boreham
6f01c31458
Extend kubernetes test to nodePort and virtual IP
2018-01-11 15:24:25 +00:00
Bryan Boreham
6cfb208f3f
Merge pull request #3204 from weaveworks/issues/3133-idempotent-bridge
...
Do not skip bridge creation if bridge exists
2018-01-09 17:20:06 +00:00