Overlay networking

Overlay networking

Cluster knows where pods live

IP-in-IP encapsulation


Overlay networking:
Cluster-to-world

Host uses source network address translation (SNAT)

Source IP is replaced by host IP

New source port is selected for mapping to pod

Mapping table for connections is maintained

Response packets are translated back