I’m trying to setup a docker swarm over GCP.
The GCP load balancer allocates new machines which are supposed to function as nodes.
How can I make sure these machines will join as nodes automatically without me having to type in the join command?
I can probably make the machines get all created using a disk snapshot that has a script that will run on the machine startup that will join the swarm. Is there a better way to configure it?