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
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
Adam Harrison
f0e75481d5
Add network policy to features
2016-11-03 15:13:50 +00:00
Adam Harrison
8bb7e1cf24
Document Kubernetes Addon
2016-11-03 15:13:50 +00:00
Bryan Boreham
e117a6bd04
Have 'weave reset' remove NPC rules
2016-11-03 14:24:26 +00:00
Adam Harrison
ac44fa63c8
Fix breakage caused by #2574
2016-11-03 11:52:58 +00:00
Martynas Pumputis
bb639dbf32
Merge pull request #2585 from weaveworks/merge-weave-npc
...
Merge weave npc
2016-11-02 11:58:43 +00:00
Bryan Boreham
64c890005a
Merge pull request #2583 from damoon/fixup-74b477ac82e1ae267cf8501519f52e1f71a782dc
...
weaveworks/weave-kube:latest broken - fixup! allow to not run NPC: do not create iptables rules for NPC
2016-11-02 11:58:02 +00:00
Adam Harrison
19088ba8bc
Import from weave-npc repo
2016-11-02 11:28:59 +00:00
Martynas Pumputis
ec5f7033a4
Merge pull request #2579 from weaveworks/issues/2557-improve-metric-naming
...
Improve metric naming
2016-11-02 11:02:23 +00:00
Bryan Boreham
eb60f68df2
Report metrics on all connection states
2016-11-02 09:51:13 +00:00
David Sauer
d72e671d8b
fixup! allow to not run NPC: do not create iptables rules for NPC
2016-11-02 10:10:33 +01:00
Martynas Pumputis
3462357481
Merge pull request #2578 from weaveworks/issues/2576-metrics-on
...
Serve metrics by default, on port 6782
2016-11-02 09:08:13 +00:00
Bryan Boreham
2b4da35b1c
Remove 'total' DNS entries; let the caller add them up
2016-11-01 18:03:35 +00:00
Bryan Boreham
86d68c9875
Move total IPs in range from a state to a separate metric
2016-11-01 18:03:35 +00:00
Bryan Boreham
cfff8ee8be
Merge pull request #2568 from weaveworks/rename-conn-term-prom-metric
...
Rename weave_connection_termination_count metric
2016-11-01 18:02:55 +00:00