F
F
Filin Filin2018-06-22 12:50:09
Domain Name System
Filin Filin, 2018-06-22 12:50:09

How to achieve Docker Swarm fault tolerance?

Let's say there are 4 Docker Swarm nodes on different machines.
The site is available on 4 different IPs.
What if the master node went down? It is assumed that all requests go through the main node.
Only one thought comes to me, it is necessary to create 4 A records for each machine for the domain.
Correct me if I'm wrong. I don’t know how to accurately formulate a query in Google, so I turn to you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
chupasaurus, 2018-06-22
@geekfil

Attach one common IP address to all servers in the cluster or use an external load balancer. If it is impossible - that only RR DNS (what you described).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question