Bryan Boreham
fa56ad8bc3
Refactor: move logging of ipset entries down to ipset package
2017-05-30 14:11:33 +00:00
Bryan Boreham
9d29da8d27
Refactor creation of base iptables rules
2017-05-30 14:11:31 +00:00
Bryan Boreham
37526728e0
Merge branch '1.9'
2017-05-30 13:55:49 +00:00
Bryan Boreham
68f2cb9caa
Merge pull request #2993 from weaveworks/hairpin-option-1.9
...
Turn on hairpin mode on veth bridge ports
2017-05-30 14:50:37 +01:00
Avi Deitcher
d13c7ea7ee
Make hairpin mode default true in CNI
2017-05-30 10:30:54 +00:00
Avi Deitcher
4c7c702b6d
Test of hairpin mode in CNI
2017-05-30 10:30:54 +00:00
Avi Deitcher
c05955d598
First cut of adding hairpin functionality to weave
2017-05-30 10:30:49 +00:00
Bryan Boreham
ca64ab54e7
Remove trailing space
2017-05-30 10:30:02 +00:00
Bryan Boreham
7f4ad03a5c
Remove mention of enable-encryption mode - it's too insecure
2017-05-26 16:23:55 +00:00
Marc Carré
d60ad1f40a
Merge pull request #2991 from weaveworks/remove-init-peer-count
...
Remove deprecated --init-peer-count option
2017-05-26 16:39:19 +01:00
Bryan Boreham
5106317e5d
Remove deprecated --init-peer-count option
...
Since this was the last deprecated option, remove all code to generate
deprecation warnings in the weave script.
2017-05-26 15:19:27 +00:00
Bryan Boreham
a5e4a19f06
Merge pull request #2903 from weaveworks/issues/2754-launch-generator-for-net
...
Update weave-kube docs and YAML files to leverage Launch Generator
2017-05-26 15:48:14 +01:00
Marc CARRE
067ce6de9f
Update Weave-Kube daemonset YAML files using Launch Generator.
...
Note that given the YAML's structure is different from previous version, indentation of `COVERAGE_ARGS` had to change (+4 whitespaces to each line).
Commands used:
```
$ curl -fsS https://frontend.dev.weave.works/k8s/v1.5/net?v=latest > prog/weave-kube/weave-daemonset.yaml
$ curl -fsS https://frontend.dev.weave.works/k8s/v1.6/net?v=latest > prog/weave-kube/weave-daemonset-k8s-1.6.yaml
```
Annotations removed from Launch Generator's files:
```
annotations:
cloud.weave.works/launcher-info: |-
{
"server-version": "master-050965d",
"original-request": {
"url": "/k8s/v1.6/net?v=latest",
"date": "Thu May 25 2017 13:16:43 GMT+0000 (UTC)"
},
"email-address": "support@weave.works "
}
```
and
```
annotations:
cloud.weave.works/launcher-info: |-
{
"server-version": "master-050965d",
"original-request": {
"url": "/k8s/v1.5/net?v=latest",
"date": "Thu May 25 2017 13:16:43 GMT+0000 (UTC)"
},
"email-address": "support@weave.works "
}
```
2017-05-26 14:19:26 +01:00
Marc CARRE
9facab53b7
Add Launch Generator to weave-kube docs.
...
Details:
- Update weave-kube docs to avoid explicit versioning by leveraging the Launch Generator.
- Update weave-kube docs to mention YAML customisation via the Launch Generator.
- Warn about potential backward incompatibility of the generated YAML, and how to ensure YAML and Net versions are compatible.
2017-05-26 14:17:41 +01:00
Àbéjídé Àyodélé
e64442f6de
Highlight the forward rules
2017-05-25 13:43:51 +00:00
Marc Carré
4f20f545dc
Merge pull request #2989 from weaveworks/remove-deprecated-options
...
Remove deprecated flag versions
2017-05-23 18:27:12 +01:00
Bryan Boreham
4bbf84f551
Merge branch '1.9'
2017-05-23 17:00:22 +00:00
Bryan Boreham
987a1618e9
Merge pull request #2985 from weaveworks/fix-broken-url-to-ecs-guide
...
Fix broken link to ECS guide
2017-05-23 17:59:49 +01:00
Marc CARRE
0ab95cdd27
Fix broken URL to ECS guide.
2017-05-23 16:58:36 +00:00
Bryan Boreham
c617612794
Remove deprecated flag versions
2017-05-23 16:49:13 +00:00
Marc Carré
0c89bbb8df
Merge pull request #2967 from weaveworks/issues/2610-host-volume
...
Change weavedb from an emptyDir to a hostPath volume
2017-05-23 17:19:04 +01:00
Bryan Boreham
a7206bee95
Merge branch '1.9'
2017-05-23 15:19:18 +00:00
Marc CARRE
0e3a749f69
Merge remote-tracking branch 'origin/remove-wordepress'
2017-05-23 12:04:34 +01:00
Marc Carré
b0d0c3d731
Merge pull request #2986 from weaveworks/remove-wordepress
...
Stop doing Wordpress previews on Pantheon
2017-05-23 12:01:05 +01:00
Bryan Boreham
534dd8e16a
Stop doing Wordpress previews on Pantheon
...
Now we are using Netlify instead
2017-05-23 11:33:57 +01:00
Marc CARRE
535bf9b066
Merge remote-tracking branch 'origin/use-fixed-version-of-shfmt'
2017-05-23 11:31:55 +01:00
Marc Carré
79e703c8ac
Merge pull request #2987 from weaveworks/use-fixed-version-of-shfmt
...
Use shfmt v1.3.0 instead of latest from master
2017-05-23 11:31:03 +01:00
Marc CARRE
d4a98a58f4
Use shfmt v1.3.0 instead of latest from master.
...
Before this change, `go get`-ting` would pick the latest version of `shfmt` which keeps changing, hence frequently breaking our builds.
After this change, we download the `shfmt` binary from its GitHub releases page which is fast and locks the version we use. Note that `RUN` does not like herestrings, hence `echo "..." | sha256sum -c` for checksum.
Alternatives considered:
- `go get gopkg.in/mvdan/sh.v1/cmd/shfmt` -- but `gopkg.in` currently doesn't behave well for this tool
- `go build` from a `git` tag -- but this is much more involved.
2017-05-23 10:59:11 +01:00
Bryan Boreham
ceb7206117
Merge pull request #2988 from mattjtodd/patch-2
...
Fix Network Commands in plugin-v2 doc
2017-05-23 09:23:47 +01:00
Matt Todd
1273157ace
Update plugin-v2.md
...
Fixed network create command statement ordering.
2017-05-22 20:01:52 +01:00
Marc Carré
5a92200dc6
Merge pull request #2964 from weaveworks/issues/plugin-v2-docs
...
Add plugin-v2 (net-plugin) docs
2017-05-22 16:10:48 +01:00
Bryan Boreham
d021e61dfa
Update troubleshooting page to match code
2017-05-22 14:52:29 +01:00
Bryan Boreham
3ae505d6c6
More accessible reference for v2 plugins
2017-05-22 14:52:29 +01:00
Bryan Boreham
a1ddb336c1
Make it clear that only one of the two plugins works without a cluster store
2017-05-22 14:52:29 +01:00
Martynas Pumputis
646ac3c74d
Add plugin-v2 (net-plugin) docs
2017-05-22 14:52:29 +01:00
Bryan Boreham
d383a29e00
Merge pull request #2945 from weaveworks/issues/1642-proxy-merge-docs
...
Update docs following merge of proxy & router
2017-05-22 13:24:48 +01:00
Marc Carré
b44e295562
Merge pull request #2979 from weaveworks/issues/2622-npc-local-node-only
...
weave-npc to check local addresses only
2017-05-19 16:48:30 +01:00
Bryan Boreham
8a1f8d549e
Let through connections from local pods to non-local pods
...
This means we only filter connections at the destination end,
which is a better match for the ingress-only rules.
2017-05-19 15:17:20 +00:00
Bryan Boreham
a2b674e094
Ignore updates for pods on other nodes
2017-05-19 15:17:20 +00:00
Bryan Boreham
c4796dcdf5
Refactor: move logging of ipset entries down to ipset package
2017-05-19 15:17:20 +00:00
Bryan Boreham
992b4a65df
Refactor creation of base iptables rules
2017-05-19 15:17:20 +00:00
Bryan Boreham
6928929bc9
Install rules allowing outward traffic in npc mode
2017-05-19 15:16:02 +00:00
Bryan Boreham
508b424234
Add test for outward traffic from weave-kube
2017-05-19 15:16:02 +00:00
Marc Carré
7f68a96f75
Merge pull request #2918 from weaveworks/network-tester
...
Add a network test that isn't ping
2017-05-19 16:15:17 +01:00
Bryan Boreham
535e22e5f8
Wait for nodes to be ready before starting pods
...
Otherwise we can schedule all pods on the same node, which isn't such a good test
2017-05-19 11:47:57 +00:00
Bryan Boreham
348a926af4
Use network-tester image in Kubernetes test
2017-05-19 11:47:57 +00:00
Bryan Boreham
aa84c4788a
Add a network test that isn't ping
2017-05-19 11:47:57 +00:00
Bryan Boreham
66293e8caa
Factor out 'wait_for_x' loop to reduce duplication
2017-05-19 11:47:57 +00:00
Marc Carré
1e60cff2ef
Merge pull request #2977 from weaveworks/issues/2975-chain-race
...
Don't clear WEAVE-NPC chain in weaver
2017-05-18 11:22:10 +01:00
Bryan Boreham
701519a15c
Merge branch '1.9'
2017-05-18 10:18:39 +00:00