mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-06 11:42:14 +00:00
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:
@@ -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
|
||||
|
@@ -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",
|
||||
|
Reference in New Issue
Block a user