<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    stone2083

    docker overlay network

    * docker overlay network
    ** multi host deploy arch
        +-------------------- VM1 ------------------+                +-------------------- VM2 ------------------+
        |    +-------+      +-------+  +-------+    |                |    +-------+      +-------+  +-------+    |
        |    |  KV   |      | App 1 |  | App 2 |    |                |    |  KV   |      | App 1 |  | App 2 |    |
        |    +-------+      +-------+  +-------+    |                |    +-------+      +-------+  +-------+    |
        |    +---------------------------------+    |                |    +---------------------------------+    |
        |    |            docker               |    |                |    |            docker               |    |
        |    +---------------------------------+    |                |    +---------------------------------+    |
        +----------------- region 1 ----------------+                +----------------- region 2 ----------------+
        *** distributed kv (consul, etcd, zookeeper etc.) for storing vxlan information
        *** using public network ip for cross region / using private network ip for same region
    ** docker overlay network arch
        +------------------------------  VM  ----------------------------------+
        |    +------------------- container  adapter ---------------------+    |
        |    |  +-----------------------+      +-----------------------+  |    |
        |    |  |         eth1          |      |          eth0         |  |    |
        |    |  |     192.168.16.6      |      |        10.0.0.2       |  |    |
        |    |  +----------|------------+      +------------|----------+  |    |
        |    +-------------|--------------------------------|-------------+    |
        |                  |                                |                  |
        |    +-------------|------ virtual  adapter --------V-------------+    |
        |    |             V                           +-- veth --+       |    |
        |    |  +---------- vm ---------+      +---------- ns ---------+  |    |
        |    |  |    docker_gwbridge    |      |           br0         |  |    |
        |    |  |    192.168.16.1/20    |      |       10.0.0.1        |  |    |
        |    |  +----------|------------+      +-----------|-----------+  |    |
        |    |             |                   +-------- vxlan --------+  |    |
        |    +-------------|-------------------------------|--------------+    |
        |             NAT  |                               |                   |
        |                  |------------------------------ |                   |
        |                                                  |                   |
        |    +-------------------- physical adapter -------V--------------+    |
        |    |  +-----------------------+      +-----------------------+  |    |
        |    |  |         eth0          |      |         eth1          |  |    |
        |    |  |     10.251.22.206     |      |     121.42.163.81     |  |    |
        |    |  +-----------------------+      +-----------------------+  |    |
        |    +------------------------------------------------------------+    |
        +----------------------------------------------------------------------+
    ** using docker overlay network in aliyun ecs
       *** upgrade linux kernel to > 3.16
                sudo apt-get install linux-generic-lts-vivid
       *** install distributed kv (consul, etcd, zookeeper etc. ) and run
                curl -OL https://dl.bintray.com/mitchellh/consul/0.5.2_linux_amd64.zip
       *** docker create overlay network
            docker network create -d overlay prod
       *** docker run with overlay network
            docker run -t -t --net prod ubuntu /bin/bash
       *** set namespace bridge and arp
            ip netns exec 1-63e4c396fe bridge fdb add 02:42:0a:00:00:03 dev vxlan1 dst 121.42.163.81
            ip netns exec ca993c48d217 arp -s 10.0.0.3 02:42:0a:00:00:03
    ** reference docs
        http://115.28.140.124:8000
        https://github.com/docker/libnetwork/blob/master/docs/overlay.md
        http://askubuntu.com/questions/636221/ubuntu-14-04-with-3-19-kernel-wants-to-update-to-3-16
        http://hustcat.github.io/docker-overlay-network-practice/
        http://hustcat.github.io/overlay-network-base-ovs/
        http://www.slideshare.net/neependra/docker-multi-host-networking-rachit-arora-ibm
        http://sirile.github.io/2015/09/30/cassandra-cluster-on-docker-swarm-and-overlay-networking-using-docker-experimental-1.9.html
        https://github.com/docker/docker/releases
    

    posted on 2015-10-21 15:14 stone2083 閱讀(5761) 評論(0)  編輯  收藏 所屬分類: linux

    主站蜘蛛池模板: 亚洲国产精品VA在线看黑人| 性短视频在线观看免费不卡流畅 | 四虎成人免费网站在线| 久久国产色AV免费看| 无码国产精品一区二区免费3p| 大地资源在线资源免费观看| 99精品免费视频| 可以免费观看的毛片| 黄色片免费在线观看| 无码国产精品一区二区免费式芒果| 免费视频一区二区| 久久精品毛片免费观看| 无码国产精品一区二区免费虚拟VR| 全免费毛片在线播放| 好爽…又高潮了免费毛片| 免费无码一区二区三区蜜桃大 | a级毛片无码免费真人久久| 在线涩涩免费观看国产精品| 男女午夜24式免费视频| 国产高清免费视频| 午夜成年女人毛片免费观看| 好爽好紧好大的免费视频国产| 亚洲?V无码乱码国产精品| 亚洲日韩在线第一页 | 成人免费无码大片a毛片| 日韩免费在线观看| 亚洲欧洲日产国码高潮αv| 亚洲精品国产品国语在线| 中文字幕亚洲精品| 亚洲一日韩欧美中文字幕在线| 国产尤物在线视精品在亚洲| 一级女性全黄生活片免费看| 久久久久国产精品免费免费不卡| 日本人的色道免费网站| 日本免费网站在线观看| 亚洲中文字幕无码爆乳AV| 亚洲色大成网站www永久| 亚洲aⅴ无码专区在线观看| 久久久久久毛片免费看| 久草视频免费在线观看| 国产最新凸凹视频免费|