what is routing mesh under docker swarm mode

0 votes
Jul 8, 2019 in Docker by Sam
• 6,260 points
8,421 views

1 answer to this question.

0 votes

Routing Mesh is a feature which make use of Load Balancer concepts.It provides global publish port for a given service. The routing mesh uses port based service discovery and load balancing. So to reach any service from outside the cluster you need to expose ports and reach them via the Published Port.
 

Docker Engine swarm mode makes it easy to publish ports for services to make them available to resources outside the swarm. All nodes participate in an ingress routing mesh. The routing mesh enables each node in the swarm to accept connections on published ports for any service running in the swarm, even if there’s no task running on the node. The routing mesh routes all incoming requests to published ports on available nodes to an active container.
 


To use the ingress network in the swarm, you need to have the following ports open between the swarm nodes before you enable swarm mode:

  • Port 7946 TCP/UDP for container network discovery.

  • Port 4789 UDP for the container ingress network.

answered Jul 8, 2019 by Sirajul
• 59,230 points

Related Questions In Docker

0 votes
1 answer

What is Docker Swarm?

Hi@akhtar, A Docker Swarm is a group of ...READ MORE

answered Dec 24, 2020 in Docker by MD
• 95,460 points
894 views
0 votes
1 answer

How do I scale in Docker Swarm Mode W/Terraform Digital Ocean Load Balancing

The solution you could build for Digital ...READ MORE

answered Jun 19, 2018 in Docker by shubham
• 7,340 points
1,531 views
0 votes
1 answer
+2 votes
1 answer
+5 votes
7 answers

Docker swarm vs kubernetes

Swarm is easy handling while kn8 is ...READ MORE

answered Aug 27, 2018 in Docker by Mahesh Ajmeria
3,979 views
0 votes
1 answer

What is the swarm mode public key infrastructure?

Built-in Public Key Infrastructure System helps to ...READ MORE

answered Aug 23, 2019 in Docker by Sirajul
• 59,230 points
881 views
+1 vote
1 answer

what is the difference between docker swarm and kubernetes

Both Kubernetes and Docker Swarm are important ...READ MORE

answered Sep 24, 2019 in Docker by Sirajul
• 59,230 points
2,416 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP