Docker swarm is a preferred node?


Run nginx in Docker svarm cluster. I have 2 nodes where you configured vrrp. At the moment I run 2 replica and nginx be both nodes. But in order to drive extra traffic(I have it still after nginx php etc), I would like to run nginx only on the gcd, which is tied at the moment external ip and in case of a fall of the node that nginx would be moved to the second. How would ustanoviti preferred node on which nginx will be the default... I'm not getting? :)
March 19th 20 at 08:46
0 answer

Find more questions by tags Docker