I'm trying to achieve a highly available node-red cluster with docker swarm and glusterfs.
Currently I have 3 manager nodes with node-red containers installed.
All nodes access the same gluster replicated folder.
When I change the flow in 1 node, I receive the notification on the other nodes that the flows have been changed.
How can I programmatically reload the flows.json file on the other nodes, whenever the file changes?
or is there a better solution for my approach?
My goal is to create a HA Node-Red cluster, which is resilient to any HW/SW failure and when I make changes to the flows, all the other nodes will apply them as soon as they receive it.
Many thanks for any advise on this.