<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

    主站蜘蛛池模板: 最新亚洲人成网站在线观看 | 国产成+人+综合+亚洲专| 成人A片产无码免费视频在线观看| 亚洲人妻av伦理| rh男男车车的车车免费网站 | 亚洲av无码一区二区三区乱子伦| v片免费在线观看| 久久精品亚洲男人的天堂| 免费看一级高潮毛片| 亚洲国产一区二区视频网站| 一级黄色免费毛片| 久久亚洲国产精品一区二区| 人妻无码久久一区二区三区免费| 亚洲午夜精品一区二区| 黄页网站在线看免费| 亚洲AV无码AV吞精久久| 亚洲VA综合VA国产产VA中| 国产精品黄页免费高清在线观看| 国产亚洲精品观看91在线| 99久久免费观看| 亚洲人成网男女大片在线播放| 特级淫片国产免费高清视频| 特级毛片aaaa免费观看| 亚洲AV无码一区二区乱孑伦AS| 男女超爽刺激视频免费播放| 亚洲AV一区二区三区四区| 亚洲国产精品丝袜在线观看| 免费观看久久精彩视频| 亚洲а∨天堂久久精品9966| 亚洲国产一区视频| 91香焦国产线观看看免费| 亚洲高清毛片一区二区| 国产成人精品日本亚洲专区| 综合在线免费视频| 一区二区三区精品高清视频免费在线播放 | 最好免费观看韩国+日本| g0g0人体全免费高清大胆视频| 亚洲成熟xxxxx电影| 国内大片在线免费看| 国产免费网站看v片在线| 亚洲熟妇成人精品一区|