Description
Can a worker in swarm get address of managers in this Swarm cluster?
Currently in a worker node, we can only use docker info to get very few information about this swarm cluster. docker info:
Swarm: active
NodeID: a49kwjbombpbw9cnz8ajwzh06
Is Manager: false
Node Address: 192.168.59.105
While we still can not know which node is manager, or where is the cluster's control entrypoint.
Assuming that we have a large cluster with 10x,100x nodes, but only one manager node. Then if we forget that which one node is manager, actually maybe we lose the control of this swarm node.
If we can get manager address of the cluster from the worker node, it would be a big convenient for users. Since a cluster would have several managers, maybe a leader manager address from every work node is good.
Description
Can a worker in swarm get address of managers in this Swarm cluster?
Currently in a worker node, we can only use
docker infoto get very few information about this swarm cluster.docker info:While we still can not know which node is manager, or where is the cluster's control entrypoint.
Assuming that we have a large cluster with 10x,100x nodes, but only one manager node. Then if we forget that which one node is manager, actually maybe we lose the control of this swarm node.
If we can get manager address of the cluster from the worker node, it would be a big convenient for users. Since a cluster would have several managers, maybe a leader manager address from every work node is good.