Merge pull request #2367 from kubernetes/chenopis-patch-11

reimplementation of PR #2165
This commit is contained in:
Andrew Chen
2017-01-26 15:08:34 -08:00
committed by GitHub
@@ -122,9 +122,9 @@ KUBE_API_ARGS=""
**Warning** This network must be unused in your network infrastructure! `172.30.0.0/16` is free in our network. **Warning** This network must be unused in your network infrastructure! `172.30.0.0/16` is free in our network.
```shell ```shell
$ systemctl start etcd systemctl start etcd
$ etcdctl mkdir /kube-centos/network etcdctl mkdir /kube-centos/network
$ etcdctl mk /kube-centos/network/config "{ \"Network\": \"172.30.0.0/16\", \"SubnetLen\": 24, \"Backend\": { \"Type\": \"vxlan\" } }" etcdctl mk /kube-centos/network/config "{ \"Network\": \"172.30.0.0/16\", \"SubnetLen\": 24, \"Backend\": { \"Type\": \"vxlan\" } }"
``` ```
* Configure flannel to overlay Docker network in /etc/sysconfig/flanneld on the master (also in the nodes as we'll see): * Configure flannel to overlay Docker network in /etc/sysconfig/flanneld on the master (also in the nodes as we'll see):