Hello,
I'm trying to setup a swarm farm with Scalr.
I though having a ROLE for the Swarm Master and another ROLE for the Swarm Nodes.
When provisioning the Swarm master, I have to follow several steps:
1) Installing and parametrizing docker
2) Running docker swarm create => it returns a TOKEN that I need in the Nodes.
3) Running docker swarm agent and docker swarm manager with the token parameter.
For the Nodes,
1) Installing and parametrizing docker
2) Running docker swarm agent with the token parameter.
Is there a way to populate the TOKEN from the master to the nodes?
What's the best practice on this?
Thanks you,
BR,