HAProxy
192.168.99.99:80
192.168.99.100:8080
my-web published port
192.168.99.101:8080
my-web published port
192.168.99.102:8080
my-web published port
swarm
load
balancer
10.0.0.1:80
my-web. 1
node1
192.168.99.100
10.0.0.2:80
my-web. 2
swarm
load
balancer
swarm
load
balancer
node2
192.168.99.101
node3
192.168.99.102
ingress network
Explanation
This image shows a HAProxy load balancer distributing traffic to three nodes in an ingress network. Each node has a swarm load balancer, which in turn balances traffic to applications such as "my-web.1" and "my-web.2".