I have a Docker Swarm cluster with three servers:
-
One is the manager node.
-
Two are worker nodes.
The manager node server has gone down (completely inaccessible). Now, I need to restore the cluster and promote one of the worker nodes to a manager.
However, as far as I understand, only the manager node has the authority to promote a worker node to a manager. Since the manager is down, I’m stuck.
What I’ve Tried:
- Attempted to use
docker node promote
on the worker nodes, but got errors because these actions require access to the manager node.
Question:
How can I restore my Docker Swarm cluster from the remaining worker nodes when the original manager node is completely inaccessible?