Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Information Provided
-
None
-
None
Description
Docker supports bridge, host, overlay, macvlan networking. It might be useful to automate docker network setup through a set of YARN API to improve management of docker networks. Each type of network driver requires different type of parameters. For Hadoop use case, it seems more useful to focus on macvlan networking for ease of use and configuration. It would be great addition to support commands like:
yarn network create -d macvlan \ --subnet=172.16.86.0/24 \ --gateway=172.16.86.1 \ -o parent=eth0 \ my-macvlan-net
This changes docker configuration to hosts managed by YARN.