Fixed API server portal_net flag that could break service networking by setting an IP from a subnet allocated to a node.

This commit is contained in:
Paulo Pires
2015-02-06 18:46:54 +00:00
parent 05de54249f
commit c48d5dd09f
4 changed files with 4 additions and 4 deletions

View File

@@ -121,7 +121,7 @@ coreos:
ExecStart=/opt/bin/kube-apiserver \
--address=0.0.0.0 \
--port=8080 \
--portal_net=10.244.0.0/16 \
--portal_net=10.100.0.0/16 \
--etcd_servers=http://127.0.0.1:4001 \
--public_address_override=$private_ipv4 \
--logtostderr=true

View File

@@ -247,7 +247,7 @@
" ExecStart=/opt/bin/kube-apiserver \\\n",
" --address=0.0.0.0 \\\n",
" --port=8080 \\\n",
" --portal_net=10.244.0.0/16 \\\n",
" --portal_net=10.100.0.0/16 \\\n",
" --etcd_servers=http://127.0.0.1:4001 \\\n",
" --public_address_override=$private_ipv4 \\\n",
" --logtostderr=true\n",