So long as these following set of rule are followed, cntainer runtimes and CNI works on harmony
none
network, then the container is added to the bridge network later on by the configured CNI plugins.
/opt/cni/bin
-> where cntainer runtime finds the plugging/etc/cni/net.d
[!Note]
ipam.subnet
specifies range of ip for podstype
: can either be host-local or dhcp
[!Note] A container can attach to diiferent bridge (i.e one created by Weave, another is the default from docker
docker0
)
host-local
DHCP
cat /etc/cni/net.d/net-script.conf
:
ipam
: specify type
, subnet
, and route
10.32.0.0/12
: 10.32.0.1
> 10.477.255.254