This is what I understood from a Docker Swarm cluster with multiple managers:
manager1 ==> leader
manager2 ==> manager
manager3 ==> manager
When I say
manager2 to run a command, it sends this command to the leader and the leader runs that command.
manager1 is down now, and
manager3 is the new leader.
- How can we check which one was the last leader?
- How to check the history of commands in the last leader?
- What if I leave
manager1from the managers and make him a worker? Are there any histories to show what it has done when he was the leader?