Adam Harrison
e283b0a1ce
Add release v1.8.1
v1.8.1
2016-11-23 12:25:07 +00:00
Adam Harrison
01c436ae15
Merge pull request #2642 from weaveworks/fix-launch-version
...
Fix weave-kube launch.sh version usage
2016-11-23 10:36:16 +00:00
Adam Harrison
664ba8735f
Merge pull request #2643 from weaveworks/issues/2632-cni-no-check-alive
...
Don't release CNI-allocated IP address when container dies
2016-11-22 16:17:11 +00:00
Bryan Boreham
937036aa64
Simplify default version string
2016-11-22 15:43:17 +00:00
Bryan Boreham
47cdf2b755
Simplify version sed
2016-11-22 15:42:53 +00:00
Adam Harrison
a6edd40de3
Merge pull request #2658 from weaveworks/issues/2632-use-pod-status
...
Make NPC only look at IP addresses on running pods
2016-11-22 15:27:48 +00:00
Bryan Boreham
4219c2c2ab
Only look at IP addresses on pods that haven't finished
2016-11-22 13:49:28 +00:00
Bryan Boreham
e7bde18f71
Merge pull request #2656 from weaveworks/add-jq-to-vagrantfile
...
Include jq in the build VM
2016-11-21 11:53:03 +00:00
Adam Harrison
233a776c41
Include jq in the build VM
...
Required to run the tests.
2016-11-18 17:59:13 +00:00
Bryan Boreham
9cc98919fa
Adjust CNI smoke-test to cope with new plugin behaviour
2016-11-14 19:53:54 +00:00
Bryan Boreham
e42600632f
Don't release dead container's IP addresses if not asked to check it is alive.
2016-11-14 19:53:54 +00:00
Bryan Boreham
49e76d1486
Merge pull request #2645 from weaveworks/fix-test-700
...
Replace iptables block with resolver override
2016-11-14 19:44:26 +00:00
Adam Harrison
965bed7c4f
Replace iptables block with resolver override
2016-11-14 17:11:17 +00:00
Adam Harrison
9b606fb823
Merge pull request #2637 from weaveworks/issues/2617-cni-expose
...
Remove 'weave expose' race in CNI plugin
2016-11-14 15:11:38 +00:00
Bryan Boreham
15d91c558b
Quote version string which may contain spaces, etc
2016-11-14 12:49:00 +00:00
Bryan Boreham
ffc5a78139
Add code-coverage options to weaver version call
2016-11-14 12:42:17 +00:00
Bryan Boreham
f8693074a3
Move CNI config file to the end of launch script
...
So something waiting for the config (e.g. Kubernetes) doesn't try to
talk to Weave before then (this only helps on first install, but that
tends to be when things are busiest).
2016-11-14 12:37:42 +00:00
Bryan Boreham
1629f4f3f0
Loop round iptables commands on EAGAIN
2016-11-14 12:37:42 +00:00
Bryan Boreham
10baab38d3
Extend smoke-test to include pinging
2016-11-14 12:37:42 +00:00
Bryan Boreham
e458c11e66
Weave script calls Go implementation of expose_nat
2016-11-14 12:37:42 +00:00
Bryan Boreham
a07e3301b1
Add 'weave expose' NAT iptables rules inside CNI plugin
...
This avoids a race between the plugin and the script
2016-11-14 12:37:42 +00:00
Bryan Boreham
2b4d13c5b1
Don't error on bridge address already there
2016-11-14 12:37:42 +00:00
Bryan Boreham
ad743b0e96
Merge pull request #2577 from weaveworks/2548-fix-reclaim-after-using-cni
...
Fix reclaim after using CNI; Fixes #2548 .
2016-11-14 11:28:42 +00:00
Marc CARRE
0544901357
Factorise "_" duplicates as a constant.
2016-11-11 17:00:26 +00:00
Marc CARRE
bc94633180
Re-claim IP on start-up when an existing ID has been found.
...
- Rewrote conditions to keep c.ident immutable and hopefully makes
things clearer.
- Added a case to tolerate reclaim after we have used CNI (passed CID
is “_” and existing CID is a real container ID).
2016-11-11 17:00:26 +00:00
Marc CARRE
16415404c7
Added automated test reproducing the issue.
...
test #4 "[
3e52b548e6df304c61ea5bee0af4b3515e025e7e25152c65ecae3d03c71cf52d ==
Unable to claim: address 10.32.0.3/12 is already owned by
fbe411facc8b657c5850591ab56fc40fb56160d43db0d7363a29ba3edad61134
Unable to claim: address 10.32.0.1/12 is already owned by
cf16a2bcdee8dd1ef7e5f0a611127611e67ea734f45d7526678fc3b1fc0c6f5d
3e52b548e6df304c61ea5bee0af4b3515e025e7e25152c65ecae3d03c71cf52d ]"
failed:
program terminated with code 2 instead of 0
1 of 6 tests failed in 6.499s.
2016-11-11 17:00:26 +00:00
Adam Harrison
46eb01604c
Merge pull request #2565 from weaveworks/2537-fix-status-on-version-check-failures
...
Improve 'status' to handle cases when the checkpoint API is not available
2016-11-11 16:14:24 +00:00
Marc CARRE
b03b3fccc7
Fixes 2537: status now prints 'failed to check latest version' when the checkpoint API is not available (+test).
2016-11-09 17:46:52 +00:00
Marc Carré
9414e2979d
Merge pull request #2599 from weaveworks/replace-kubectl-create-with-apply
...
Updated doc: replaced kubectl create with kubectl apply.
2016-11-07 16:31:31 +00:00
Marc CARRE
865664425b
Updated doc: replaced kubectl create with kubectl apply.
2016-11-07 16:18:40 +00:00
Adam Harrison
b060cf30f4
Add release v1.8.0
v1.8.0
2016-11-04 15:49:36 +00:00
Marc Carré
5352ed837a
Merge pull request #2598 from weaveworks/cni-setup-remove-symlink
...
Clean up CNI symlinks from weave-kube
2016-11-04 15:28:44 +00:00
Adam Harrison
d4d54a1ff5
Clean up CNI symlinks from weave-kube
2016-11-04 14:41:34 +00:00
Adam Harrison
ea82a6715f
Merge pull request #2569 from weaveworks/weave-kube-smoke-test
...
weave-kube smoke test
2016-11-04 12:58:20 +00:00
Martynas Pumputis
d356e32bdf
Merge pull request #2588 from weaveworks/kube-npc-docs
...
Document k8s addon & prometheus metrics
2016-11-04 12:50:41 +00:00
Martynas Pumputis
6193d22d2e
Merge pull request #2595 from weaveworks/change-npc-metrics-port
...
Change default NPC metrics port
2016-11-04 12:41:25 +00:00
Adam Harrison
50c9568073
Document Prometheus metrics endpoints
2016-11-04 12:33:06 +00:00
Adam Harrison
9d05ed41b2
Change default NPC metrics port
2016-11-04 12:31:01 +00:00
Adam Harrison
e3f7e0a23a
Merge pull request #2590 from weaveworks/issues/2586-/opt/cni/bin-never-upgraded
...
Add support for atomic and versioned upgrades of CNI plugin.
2016-11-04 12:27:48 +00:00
Marc CARRE
da2f0803ce
Add support for atomic and versioned upgrades of CNI plugin.
2016-11-04 11:54:22 +00:00
Bryan Boreham
6dde5e5ee9
Add code-coverage options to weaver start
2016-11-04 10:52:36 +00:00
Bryan Boreham
494df21bdf
Disable imagePullPolicy so we test the image we just built
2016-11-04 10:52:36 +00:00
Bryan Boreham
e44bbbec63
Add smoke-test for weave-kube
2016-11-04 10:52:36 +00:00
Bryan Boreham
c19f49a284
Install Kubernetes packages and pre-pull images
...
Bump template version too
Note that we disable kubelet in the image, so you have to start it if
you want to use it.
2016-11-04 10:52:36 +00:00
Adam Harrison
d3f2c110e4
Merge pull request #2589 from weaveworks/issues/2587-cni-weaveutil
...
Fix CNI plugin calling weaveutil
2016-11-04 10:47:38 +00:00
Bryan Boreham
09628178e4
Weave-kube doesn't need to depend on plugin repo any more
2016-11-03 17:42:39 +00:00
Bryan Boreham
5630a01a8c
Implement CNI plugin via weaveutil
2016-11-03 17:42:39 +00:00
Adam Harrison
40b3a49c90
Merge pull request #2563 from weaveworks/update-test-template
...
Update CI VMs to Ubuntu 16.04 and Docker 1.11
2016-11-03 17:35:21 +00:00
Adam Harrison
431b87b94a
Merge pull request #2591 from weaveworks/reset-npc
...
Have 'weave reset' remove NPC rules
2016-11-03 15:22:46 +00:00
Adam Harrison
828c3d21d2
Recommend using the k8s addon from the CNI docs
2016-11-03 15:13:50 +00:00