Help needed for Docker Swam config with external/cloud load balancer

Hi guys I'm trying to deploy a very simple docker Swarm cluster onto any one of the cloud services with an external load balancer and I'm very confused on how to setup the forwarding rules, health checks,etc.

I just have two services – and . I have two worker nodes and a manager node.

Has anyone set anything up like this ? Do you let Swarm do the load balancing or the elb actually knows node status (which means hooking up to metrics endpoint).

Any help on rule of thumb here will be very appreciated.

submitted by /u/sandys1
[link] [comments]
Source: Reddit