<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

    主站蜘蛛池模板: 无码免费午夜福利片在线 | 亚洲国产精品无码第一区二区三区| 一级女人18片毛片免费视频 | 欧美a级成人网站免费| 亚洲码在线中文在线观看| 性xxxxx大片免费视频| 亚洲欧洲自拍拍偷综合| 国内精品免费麻豆网站91麻豆| 亚洲综合综合在线| 黄页网站在线看免费| 亚洲色偷偷偷综合网| 免费v片在线观看无遮挡| 一二三区免费视频| 亚洲国产天堂久久综合网站| 91大神在线免费观看| 456亚洲人成在线播放网站| 免费看美女被靠到爽的视频| 真正全免费视频a毛片| 精品国产亚洲一区二区在线观看| 巨胸喷奶水www永久免费| 久久亚洲精品成人AV| 国内一级一级毛片a免费| 免费国产高清毛不卡片基地| 国产亚洲精品免费视频播放| 97青青草原国产免费观看| 亚洲制服丝袜一区二区三区| 免费激情视频网站| 成人国产精品免费视频| 亚洲精品**中文毛片| 成年女人永久免费观看片| 久久www免费人成精品香蕉 | 男人的天堂av亚洲一区2区| 亚洲综合激情另类专区| 99久久久国产精品免费牛牛四川| 中文字幕亚洲男人的天堂网络| www.亚洲精品.com| www视频免费看| 国产精品九九久久免费视频| 亚洲剧场午夜在线观看| 亚洲精品美女久久久久99小说| 最近2022中文字幕免费视频|