I am using Openshift Origin to setup a lab environment. But after doing openshift-ansible, it seems the default Pod address are 10.1.x.x . It conflicts with my company intranet address.
So how to change the default Pod address?
[root@openshiftorigin-master ~]# netstat -ar
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
default gateway 0.0.0.0 UG 0 0 0 ens32
10.1.0.0 0.0.0.0 255.255.0.0 U 0 0 0 tun0
172.16.50.0 0.0.0.0 255.255.255.0 U 0 0 0 ens32
172.30.0.0 0.0.0.0 255.255.0.0 U 0 0 0 tun0
Thanks, James.
答案 0 :(得分:0)
在主配置中,Pods从ClusterNetworkCIDR中获得地址。更改此值后,您需要重新启动所有pod(文档描述了在正在运行的集群上更改此值的其他含义)。