-
Notifications
You must be signed in to change notification settings - Fork 18.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vendor libnetwork v0.7.0-dev.7 : Experimental MacVlan and IPVlan network drivers #21122
Conversation
I think the docs for ipvlan and macvlan should go into /experimental instead of the main docs until we move this over to stable. |
|
||
- To check your current kernel version, use `uname -r` to display your kernel version | ||
- Macvlan Linux kernel v3.9–3.19 and 4.0+ | ||
- Ipvlan Linux kernel v4.0+ (earlier versions do support Ipvlan but) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
but what? (should say something like support for earlier kernels exists but is buggy
)
Documentation failure looks genuine;
|
@@ -0,0 +1,685 @@ | |||
|
|||
|
|||
# Macvlan and Ipvlan Docker Network Drivers |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possibly a tab instead of a space somewhere?
oh, and optimized versions of those images (saved off 41% of the file size); |
Just the couple of issues. |
0e05a26
to
05b56c4
Compare
* Experimental support for macvlan and ipvlan drivers Signed-off-by: Madhu Venugopal <madhu@docker.com>
Signed-off-by: Brent Salisbury <brent@docker.com> Signed-off-by: Madhu Venugopal <madhu@docker.com>
Signed-off-by: Brent Salisbury <brent@docker.com>
@cpuguy83 @thaJeztah we resolved the comments. PTAL. |
Ping @calavera @tiborvass if you have some time to review as well, hopefully we can get this merged soon, as it's needed for other changes coming up |
Very cool, and strictly adding (experimental) drivers to libnetwork, so LGTM! 🎉 |
Tested out these drivers. Really awesome! We should iterate on some of the options/when to error out etc. But I'm good with this as is for experimental. LGTM. |
I see we've still got docs in the user guide, so I'll defer to the docs team for this. |
ping @thaJeztah |
The docs currently is not linked anywhere. This is added purely as an user-guide for folks to give it a try directly from the |
Away from home right now, but feel free to merge, I can have a look at docs after that and fix up later; I know this PR is important, so don't let me uphold it
|
@thaJeztah Yeah, let's merge and try. Sounds like exciting stuff. |
Vendor libnetwork v0.7.0-dev.7 : Experimental MacVlan and IPVlan network drivers
Thanks @cpuguy83 @icecrime @LK4D4 @thaJeztah With the addition of these 2 new drivers, Ops have complete control over the docker networking stack including seamless underlay plumbing. Thanks @nerdalert for the contribution. |
This awesome contribution comes from @nerdalert via moby/libnetwork#964.
This PR also includes the required documentation to get up & running with these drivers.
Thanks to the CNM APIs, this is purely new driver additions and no changes to the libnetwork core or engine core.
We decided to accept it as experimental to get user feedback and make any improvements.
Note : Though some of the distros backported IPVlan drivers on the 3.19 kernel, it is extremely buggy (like this one : https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1475434) and we decided to keep the base support for IPVlan driver as 4.2.
MacVlan driver is fairly stable from 3.9,