I have configured my Swarm cluster with 3 managers and 3 workers.
Managers are in drain mode in order to let managers only manage the cluster and workers doing the hard work.
With this config I cant manage the cluster with Portainer because I cant deploy the Agent in nodes that are in drain mode.
I have managed to make Portainer work in that config by changeing managers mode to “active”, letting Agents to deploy (the are in global mode) and once are deployed, changeing managers mode to “pause”.
In pause mode services keeps running but node doesn’t take new ones. That is good, but, what happend if Angent fails and has to restart? I think it will not restart in manager node because is in pause mode.
¿Is there a convenient way for deploying Agent in that situation?