Let's review how Docker networking works before getting into Kubernetes networking. In Chapter 2, DevOps with Container, we learned three modes of container networking, bridge, none, and host.
Bridge is the default networking model. Docker creates and attaches virtual Ethernet device (also known as veth) and assigns network namespace to each container.
Veth always comes in a pair, one is in network namespace and the other is in the bridge. When the traffic comes into the host network, it will be routed into the ...