Bryan Boreham
80a80816aa
Merge pull request #3687 from weaveworks/docker-19-3
...
Bump Docker to 19.03.1, Kubernetes to 1.14.0 for smoke tests
2020-07-31 18:04:13 +01:00
Bryan Boreham
c50b3380ea
Fix tests where newer Docker returns hex ID of container as network ID
2020-07-31 16:29:41 +00:00
Bryan Boreham
aa9caab1b0
Fix incompatibility in Docker Python test
...
Using code from https://github.com/bboreham/docker-py/tree/v1.9.0-prime
Also change to using Python 3 since 2.x is EOL.
2020-07-31 16:29:41 +00:00
Murali Reddy
ce9d05e0bd
Allow kubeadm to install on nodes with 1 CPU, for smoke tests
2020-07-31 16:29:41 +00:00
Murali Reddy
0c4aeb3a0b
Run smoke-tests with Kubernetes 1.14.0 and CNI 0.7.5
2020-07-31 16:29:02 +00:00
Murali Reddy
f24cf798bc
build tool updates
...
including changes to accommodate current get.docker.com script
2020-07-31 16:28:52 +00:00
Murali Reddy
3d66dcd94e
run terraform init for gcp plugin initialization
2020-07-31 14:52:46 +00:00
Bryan Boreham
fab09693b9
Bump Docker to 19.03.1 for smoke tests
2020-07-31 14:52:46 +00:00
Bryan Boreham
cdbc25d462
Merge pull request #3231 from weaveworks/issues/1770-fetch-dns-address
...
Fetch DNS listen address from daemon
2020-07-31 13:47:41 +01:00
Bryan Boreham
6946731fdd
Merge pull request #3090 from berlic/dns-aliases
...
Register container name and its network aliases with weaveDNS
2020-07-31 13:30:27 +01:00
Bryan Boreham
0078fc535a
Merge pull request #3714 from weaveworks/lint-cleanup
...
Lint cleanup
2020-07-31 13:02:21 +01:00
Bryan Boreham
9ffd0e3450
Fix up tests for DNS changes
...
Now that `weave dns-args` doesn't parse any flags we need to
call it or not call it, which `start_container` will do for us.
Also add back the part of the test where we run weaver with and
without DNS, which had become lost in 8b061fd555
Also change a couple of tests to use proxy to start containers,
again to avoid needing `dns-args` to parse flags.
2020-07-31 11:59:20 +00:00
Bryan Boreham
5b2311bb45
Remove obsolete args parsing from dns-args
...
It was used as part of 'weave run'; does not make sense to support
--name, -h, etc., on 'weave dns-args'.
2020-07-31 11:59:20 +00:00
Bryan Boreham
b0274e11be
Fetch DNS listen address from daemon
...
instead of assuming it's on the Docker bridge
Also move DNS address validation into NewDNSServer(),
so we only do it once.
2020-07-31 11:58:56 +00:00
Bryan Boreham
34dc4dabce
Clean up some lint warnings
...
I ran golangci-lint and it pointed out a few things to clean up.
2020-07-31 10:28:55 +00:00
Bryan Boreham
28e482af14
Avoid some deprecated APIs
2020-07-31 10:28:55 +00:00
Bryan Boreham
c197624689
Fix up incorrect output formatting
2020-07-31 09:03:27 +00:00
Bryan Boreham
00bc020498
Use Context instead of deprecated http.CloseNotifier interface
2020-07-31 09:03:27 +00:00
Bryan Boreham
df52117bfa
Remove unused code
2020-07-31 09:03:27 +00:00
Bryan Boreham
00623be8a7
Merge pull request #3624 from weaveworks/trim-tools
...
Remove some unused tools from the Weave docker containers
2020-07-30 14:14:49 +01:00
Bryan Boreham
4d3e8d4a82
Merge pull request #3726 from weaveworks/slim-dependencies
...
Slim utility binaries by reducing dependencies
2020-07-30 14:13:47 +01:00
Bryan Boreham
ce38141e5b
Merge pull request #3835 from nesc58/iptables-w
...
wait added to iptables commands
2020-07-29 17:25:36 +01:00
Bryan Boreham
6bc656d66c
Move address range helpers into address package
...
This means that users don't drag in a dependency on aws-sdk.
2020-07-29 13:08:35 +00:00
Bryan Boreham
ca4f93d0d7
Remove the dependency of 'ipset' package on Kubernetes
...
We don't want everyone that uses the `net` package to get a transitive
dependency on the Kubernetes APIs, so have it define the `UID` type.
Conceptually this is a simple change because `UID` is a `string`, but
unfortunately it is used in a lot of places.
2020-07-29 13:08:35 +00:00
Bryan Boreham
a3c76e141b
Move name constants to separate 'chains' package, to reduce dependencies
...
We don't want everyone that uses the `net` package to get a transitive
dependency on the Kubernetes APIs required by `npc`.
2020-07-29 12:55:46 +00:00
Nesc58
f4009c39d8
wait added to iptables commands
2020-07-28 10:46:49 +02:00
Bryan Boreham
9928ddb401
Merge branch '2.6'
2020-07-27 17:44:11 +00:00
Bryan Boreham
7b927a7bac
Merge pull request #3802 from weaveworks/reload-ip-tables
...
Reload router iptables rules if they get cleared
2020-07-24 14:33:47 +01:00
Simon Howe
341bac9968
Rename Monitor -> MonitorForIptablesFlush
...
- Makes it all a bit more explicit
2020-07-24 15:04:28 +02:00
Simon Howe
1d7ca17c3e
Improve Monitor function description
2020-07-24 15:01:45 +02:00
Konstantin Suvorov
add109a63d
Merge pull request #4 from a-kataev/dns-aliases
...
Fixed mismatched types
2020-07-17 08:50:45 +03:00
Alex Kataev
0f276a4d63
Fixed mismatched types in the condition
2020-07-17 10:45:53 +05:00
Konstantin Suvorov
0ac333b91c
Merge pull request #3 from a-kataev/dns-aliases
...
Additional DNS names registration
2020-07-16 22:11:11 +03:00
Alex Kataev
acbd744372
Refactor: additional DNS names registration
2020-07-15 16:34:28 +05:00
Simon Howe
c0e5008202
Update tests after removing canary refresh flag
2020-07-15 11:37:53 +02:00
Simon Howe
899490c3f9
Removes disabling iptable canary
...
- Should always be on. Simpler.
2020-07-15 11:37:53 +02:00
Simon Howe
709b434f55
Clean up the Monitor go routine
2020-07-15 11:37:53 +02:00
Simon Howe
ca7103d007
Review feedback: don't recreate NoMasqLocalIpset onCanaryDeleted
2020-07-15 11:37:53 +02:00
Simon Howe
66eb80d841
Adds a CANARY chain and Monitor loop instead of reapplying iptables
2020-07-15 11:37:16 +02:00
Simon Howe
94e75e45af
Make ConfigureIPTables idempotent and poll it
...
- Instead of EnsureBridge
- Adds ipset.ExistEntry method
- Refactor ipset method names Exist <-> EntryExists
- Turn on iptable-refresh by default (10s)
- Adds a test that checks iptables are refreshed, check EXPOSE recovers
2020-07-15 11:35:41 +02:00
Konstantin Suvorov
fa5e032e49
Register container name and its network aliases with weaveDNS
2020-07-14 18:15:37 +03:00
Bryan Boreham
a90c0075c8
Typo
2020-06-17 17:03:13 +00:00
Bryan Boreham
1ff09fd4d1
Merge branch '2.6'
2020-06-10 17:15:14 +00:00
Bryan Boreham
e0348233af
Add release v2.6.5
v2.6.5
2020-06-10 13:41:13 +00:00
Bryan Boreham
495bea8890
Merge pull request #3808 from weaveworks/stop-switch-fwd
...
router: tell goroutine to exit when forwarder is stopped
2020-06-10 14:07:41 +01:00
Bryan Boreham
88799b36b2
Merge branch '2.6'
2020-06-04 17:53:53 +00:00
Bryan Boreham
3d79b07dba
Merge pull request #3815 from weaveworks/ignore-ipv6-not-found
...
Don't exit if machine has no ipv6 installed
2020-06-04 18:47:28 +01:00
Bryan Boreham
27f8f9092f
router: tell goroutine to exit when forwarder is stopped
...
Otherwise a goroutine is leaked each time a connection is closed.
2020-06-04 17:46:18 +00:00
Bryan Boreham
7174738d9d
Don't exit if machine has no ipv6 installed
...
We are trying to turn off `accept_ra`, so if we get an error that the
option doesn't exist we can just ignore it.
2020-06-04 16:12:38 +00:00
Bryan Boreham
11d75b27a6
Merge branch '2.6'
2020-05-30 12:13:46 +00:00