Ingress Load Balancing

Ingress mode vs. host mode

Swarm supports two publishing modes that make services accessible outside of the cluster:

  • Ingress mode (default)
  • Host mode

Services published via ingress mode can be accessed from any node in the Swarm; even nodes not running a service replica. Services published via host mode can only be accessed by hitting nodes running service replicas. The figure below shows the difference between the two modes.

Get hands-on with 1000+ tech skills courses.