I have docker swarm of 3 nodes. I run ES with 5 nodes (3 data/master nodes and 2 coordinating nodes). I would like to use S3 bucket plugin to backup ES cluster. Plugin must be installed on all nodes, that means, plugin directory must be mounted as volume. For data nodes this is not a problem, there is only one ES data/master per node, so they can have dedicated directory per node, but coordinating nodes can move from one node to another. The problem is, if after plugin installation coordinating node move to another node, plugin will be missing in plugin directory. I start thinking about creating shared directory with plugins for all ES nodes but not sure, If this is the right way to ensure plugin will be installed on all ES nodes. Can anybody help?
Coordinating nodes run as one service with two replicas, data/master nodes has each dedicated service which specify node to run on.