What is the ingress network and routing mesh in Swarm?

AdvancedConceptNetworking
Answer

For a service with a published port, Swarm opens that port on every node and uses IPVS-based load balancing via the ingress overlay to route to any healthy task, even on other nodes. Use mode=host publishing to bind only on nodes running the task and skip the mesh, which preserves client IPs.

All Docker questions Roadmap: Docker & containers

More on Networking