Add a Load Balancer service
MedStack Control provides a pre-configured Traefik Load Balancer to accept connections from the internet and distribute traffic across the nodes in a cluster. A Load Balancer service is required in order to serve HTTPS services to the public internet. MedStack Control secures your swarm by blocking all other incoming connections, and proxies all incoming HTTPS connections through the Load Balancer managed service.
Any container can be configured to be proxied by the Load Balancer. The Load Balancer will automatically balance traffic across all of the containers that are connected to it.
Note: Configure the Load Balancer on the service you are passing traffic to using the LOAD BALANCER section of the service configuration. For details, see Add a custom service.
- On the Control page, click the cluster name.
- Click NEW SERVICE.
- Click Load Balancer.
- Click CREATE.
The Load Balancer is added to the cluster.