Bryan Boreham
8e374d9416
D'oh
2018-06-11 13:52:15 +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
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
22ecf505e3
Added note about security implications of enabling IP forwarding
2018-05-02 06:06:58 +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
Bryan Boreham
3074892f1b
Merge pull request #3216 from weaveworks/update-release-process
...
Update docs release process
2018-01-09 17:18:58 +00:00
Bryan Boreham
8e23301028
Merge pull request #3214 from weaveworks/vagrant-more-mem
...
Give more memory to vagrant test machines
2018-01-08 17:36:59 +00:00
Bryan Boreham
72724ee389
Merge pull request #3215 from weaveworks/fix-k8s-use-legacy-mode-docs
...
Fix link to k8s legacy netpol docs
2018-01-08 17:36:29 +00:00
Bryan Boreham
23095728f5
Merge branch '2.1'
2018-01-06 15:41:56 +00:00
Bryan Boreham
a4fccd43eb
Merge pull request #3185 from weaveworks/note-kube-dns
...
Note that WeaveDNS is disabled in Kubernetes addon
2018-01-04 14:57:14 +00:00
Bryan Boreham
48e1a8295b
Update Kubernetes docs info
2018-01-04 15:01:06 +00:00
Bryan Boreham
890c8c1905
Extend description of weave-kube
...
and mention WeaveDNS is disabled
2018-01-04 14:59:43 +00:00
Bryan Boreham
38d50ce6fb
Note that WeaveDNS is disabled in Kubernetes addon
2018-01-04 14:59:43 +00:00
Bryan Boreham
b96399b563
Merge branch '2.1'
2017-12-20 16:10:58 +00:00
Bryan Boreham
d8c008dc7d
Merge pull request #3203 from weaveworks/mac-messages-to-debug
...
Demote messages about MAC discovery and expiry to DEBUG level
2017-12-20 11:29:27 +00:00
Bryan Boreham
b2ae5f4f4b
Demote messages about MAC discovery and expiry to DEBUG level
2017-12-18 11:36:24 +00:00
Bryan Boreham
ba871d7855
Merge branch '2.1'
2017-12-18 11:25:30 +00:00
Bryan Boreham
60f4b3cdb8
Merge pull request #3198 from weaveworks/explain-active
...
Add meaning of 'active' in 'weave status ipam'
2017-12-15 11:53:43 +00:00
Bryan Boreham
db1b57900b
Merge pull request #3197 from vetal4444/log_level_setting
...
Add ability to set log level for net-plugin, and default to INFO
2017-12-14 12:26:01 +00:00
Bryan Boreham
f5f9bab77c
Add meaning of 'active' in 'weave status ipam'
2017-12-14 10:18:53 +00:00
Bryan Boreham
ba7aa674d1
Merge branch '2.1'
2017-12-04 15:03:02 +00:00
Bryan Boreham
f670be4315
Add release v2.1.3
2017-12-04 14:38:05 +00:00
Bryan Boreham
a658861fde
Merge pull request #3189 from weaveworks/release-latest-plugin
...
Fix release script for plugin latest_release
2017-12-04 06:33:02 -08:00
Bryan Boreham
192e5a1f79
Merge branch '2.1'
2017-12-04 13:51:30 +00:00
Bryan Boreham
475b15e372
Merge pull request #3192 from weaveworks/issues/3190-deepcopy-configmaps
...
Fix ipam reclaim
2017-12-01 12:33:48 -08:00
Bryan Boreham
d2ed91ccc8
Clean up log messages a bit
2017-12-01 14:20:39 +00:00
Bryan Boreham
333f4a1d3c
Make sure Annotation names conform to Kubernetes requirements.
...
E.g. replace "26:c6:0b:ba:fd:31" with "26_c6_0b_ba_fd_31"
2017-12-01 14:20:39 +00:00
Bryan Boreham
832fe2f0b0
Update local copy of annotations even after error
...
e.g. if we get a clash because someone else has updated the data, it
returns the new data so we should work off that next time.
Also re-fetch the Annotations every time round the main loop for safety.
2017-12-01 14:20:39 +00:00
Bryan Boreham
51c3ea184a
Fix release script for plugin latest_release
...
We should never update the latest_release plugin on a PRERELEASE.
We should always update it on a MAINLINE or BRANCH release.
2017-11-27 15:04:39 +00:00
Bryan Boreham
692bccc4fc
Merge branch '2.1'
2017-11-27 15:03:48 +00:00
Bryan Boreham
59fe76f29b
Add release v2.1.2
2017-11-27 14:06:33 +00:00
Bryan Boreham
51c2a0d732
Merge pull request #3174 from weaveworks/issues/docs-use-legacy-netpol
...
Update k8s netpol docs
2017-11-27 12:45:59 +00:00
Bryan Boreham
2ab01b55c9
Merge branch 'master' into 2.1
2017-11-27 11:45:15 +00:00
Bryan Boreham
461f9e736b
Merge pull request #3186 from weaveworks/issues/3184-update-mesh
...
Update vendored mesh dep
2017-11-27 11:34:15 +00:00
Bryan Boreham
8e16b03ae8
Merge pull request #3181 from weaveworks/issues/3177-ooo
...
npc: Track ipset entries per user and refcount default-allow ipsets
2017-11-27 11:01:59 +00:00
Bryan Boreham
0205adcedb
Trim the JSON logged for Kubernetes objects by weave-npc
...
Remove things like "args" and "env" which bulk the logs, aren't
relevant to the function of weave-npc, and may include sensitive
information.
Use a black-list rather than a white-list because we can't be sure
what information will be necessary in future.
2017-11-22 11:17:50 +00:00
Bryan Boreham
ebbf3d4244
Add release v2.1.1
2017-11-17 14:17:31 +00:00
Bryan Boreham
ceb36d1891
Typo
2017-11-17 14:15:10 +00:00
Bryan Boreham
4caa850853
Merge pull request #3176 from weaveworks/issues/3175-fix-install
...
Fix 2.1.0 install issues
2017-11-17 14:14:41 +00:00
Bryan Boreham
96cecf1796
Pull images before running inside weaveexec container
...
Now we don't bundle the docker command inside weaveexec, we need to do
an explicit 'docker pull' to ensure the images are there.
Also set the weavedb tag to :latest to remove a warning from docker
2017-11-17 13:51:10 +00:00
Bryan Boreham
51c7af8fb4
Set IMAGE before using it
2017-11-17 13:31:46 +00:00
Bryan Boreham
347466aba2
Add release v2.1.0
2017-11-17 11:10:52 +00:00
Bryan Boreham
bee1c44859
Merge pull request #3173 from weaveworks/reclaim-tweaks
...
Rearrange peer reclaim checks in weave-kube launch script
2017-11-16 17:05:46 +00:00
Bryan Boreham
f07238c8bb
Move info log to after error check
2017-11-16 14:31:40 +00:00
Bryan Boreham
3b499ce27c
Rearrange peer reclaim checks in weave-kube launch script
...
This is to make it behave better on fresh start, and in the case where
the manifest has not been updated to give it permissions.
2017-11-16 14:14:54 +00:00
Bryan Boreham
4dda216398
Merge pull request #3172 from weaveworks/issues/3170-fix-upgrade
...
weave-kube reclaim: check for upgrade case
2017-11-15 17:59:54 +00:00
Bryan Boreham
f0e511510a
Don't print a message on flag not found
2017-11-15 12:35:19 +00:00
Bryan Boreham
570ab0b10b
Avoid deleting persisted data on weave-kube upgrade
...
Add a feature to weaveutil to get and set flags, then use this feature
to mark the DB when this version runs
2017-11-15 11:26:43 +00:00
Bryan Boreham
214cf6cb2e
Flip result code when checking for new peer
...
This avoids mistaking an error condition for the result we should act on
2017-11-15 10:11:02 +00:00
Bryan Boreham
07459f0cec
Merge pull request #3149 from weaveworks/fix-2797-loosing-ipam-ips
...
Fix 2797 on Kubernetes - Cluster goes down because all IPs become unreachable
2017-11-14 15:31:06 +00:00
Bryan Boreham
c67bc704e1
Temporarily raise kube-peers log level to debug
2017-11-14 14:16:01 +00:00
Bryan Boreham
3501ad45e6
Cope with a Kubernetes node being deleted and coming back
...
Add features to weaver and kube-peers to find the peer name and check
if it is in the list, then in launch.sh delete persisted data if not.
2017-11-14 14:15:31 +00:00
Bryan Boreham
70a13c9c12
Make kube-peers logging consistent and add -log-level flag
...
Also tag kube-peer log messages with "[kube-peers]": in a standard
deployment they end up interspersed with weaver log messages so this
makes it easier to pick them out.
2017-11-14 14:06:34 +00:00
Bryan Boreham
a552f194b4
Code to reclaim IP address space from removed peers
2017-11-14 14:06:33 +00:00
Bryan Boreham
267bd8b51d
Pseudo-code to clean up dead peers
2017-11-14 14:06:33 +00:00
Bryan Boreham
71b39489da
Maintain a list of peers in a Kubernetes annotation
...
This is prework for a feature which will remove 'dead' peers
2017-11-14 14:06:33 +00:00
Bryan Boreham
ed8d92cfc6
RBAC to read and write ConfigMaps
2017-11-14 14:06:33 +00:00
Bryan Boreham
f431ee289b
Refactor: create config in main function
2017-11-14 14:06:33 +00:00
Bryan Boreham
44692b997c
Merge pull request #3169 from weaveworks/issues/k8s-netpol-testing
...
Extend NetworkPolicy smoke tests
2017-11-13 15:30:48 +00:00
Bryan Boreham
21086a0b2a
Merge branch '2.0'
2017-11-13 12:51:29 +00:00
Bryan Boreham
d7119169df
Add length to log message for too-big DF broadcast frame
2017-11-13 11:06:34 +00:00
Bryan Boreham
5b1ca02ecc
Merge pull request #3151 from weaveworks/issues/3105-k8s-17-netpolicies-whitelist
...
Implement Kubernetes 1.7 NetworkPolicy semantics
2017-11-07 16:31:01 +00:00