diff --git a/cluster/ubuntu-cluster/configure.sh b/cluster/ubuntu-cluster/configure.sh index fcf52caf53f..a87d47a73e4 100755 --- a/cluster/ubuntu-cluster/configure.sh +++ b/cluster/ubuntu-cluster/configure.sh @@ -202,6 +202,7 @@ while true; do # set MINION IP in default_scripts/kubelet sed -i "s/MY_IP/${myIP}/g" default_scripts/kubelet sed -i "s/MASTER_IP/${masterIP}/g" default_scripts/kubelet + sed -i "s/MASTER_IP/${masterIP}/g" default_scripts/kube-proxy cpMinion break ;; diff --git a/docs/getting-started-guides/ubuntu_multinodes_cluster.md b/docs/getting-started-guides/ubuntu_multinodes_cluster.md index b81cdba957a..20d0429acb6 100644 --- a/docs/getting-started-guides/ubuntu_multinodes_cluster.md +++ b/docs/getting-started-guides/ubuntu_multinodes_cluster.md @@ -114,8 +114,10 @@ If you want a node acts as **both running the master and minion**, please choose 2. On any node: `$ /opt/bin/etcdctl mk /coreos.com/network/config '{"Network":"10.0.0.0/16"}'` + + Note the `10.0.0.0/16` is a virtual network address. It has nothing to do with master and minions IP addresses assigned by the cloud provider. In other words even if your master and minions use address from another network (e.g. 172.16.0x) you can still use `10.0.0.0/16` for your virtual network. - > You can use the below command on another node to comfirm if the network setting is correct. + > You can use the below command on another node to confirm if the network setting is correct. > `$ /opt/bin/etcdctl get /coreos.com/network/config`