-
Notifications
You must be signed in to change notification settings - Fork 678
Conversation
I will test this with Kubernetes once again now. |
I confirm this is working perfectly well with Kubernetes. |
@@ -104,6 +104,12 @@ Multiple IP addresses and networks can be supplied in the `WEAVE_CIDR` | |||
variable by space-separating them, as in | |||
`WEAVE_CIDR="10.2.1.1/24 10.2.2.1/24"`. | |||
|
|||
The docker IP will still be returned by `docker inspect`. If you want |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
Note, docker "NetworkSettings": {
"Bridge": "",
"Gateway": "",
"IPAddress": "",
"IPPrefixLen": 0,
"MacAddress": "",
"PortMapping": null,
"Ports": null
}, This only overwrites the |
ef60bf8
to
f5eb8f4
Compare
Gateway seems to point to the docker bridge IP. I don't think we should leave that in place. |
Changes look good; we are still leaving |
Could replace |
This gateway refers to the route that the container has to the rest of the world, so given that we don't add such a route for ethwe I don't think we should claim a fake one. I'm not so sure now that leaving it is wrong. That route and gateway still exists. It just isn't associated with the IP or MAC that we are now returning. |
If we are returning an IP/MAC for an interface with no gateway, it probably makes most sense not to return a gateway. |
`docker inspect` to return the weave NetworkSettings instead, then the | ||
proxy must be launced with the `--rewrite-inspect` flag. This will | ||
only substitute in the weave network settings when the container has a | ||
weave IP. |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
Hmm. It feels odd to do things completely differently here. |
It seems much more likely that we will spoil someone's day by disrupting what is returned by |
fdddf0d
to
75fc999
Compare
@paulbellamy anything left to do here? |
I believe all of the comments have been addressed, so if the docs look good, then it should be ready to go. |
To return the weave ip/mac for docker inspect calls.
63703d3
to
633df0c
Compare
LGTM |
To return the weave ip/mac for docker inspect calls.
Fixes #117, and #1199 (possibly? Anything else outstanding for that?)