mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 07:20:13 +00:00
Added extra info on 10.0.0.0/16 network
Using 10.0.0.0/16 for flannel network and 10.10.103.x for example cluster network is a bit misleading as people may think they should use the same network for both flannel and eth0 interfaces. This commit tries to clarify that flannel shall use different network.
This commit is contained in:
parent
e385d552c5
commit
0062da4956
@ -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`
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user