Open cirocosta opened 7 years ago
btw, I'd really like to have access to the code inside those containers 😁
When a host starts up, we run code in userdata that will find out where the swarm is, and join that swarm. If it is a worker it will join as a worker node, if a manager it will join as a manager.
Hey, just for curiosity's sake,
looking closely at the CloudFormation template I couldn't figure out how does
scale out
works. For instance, forscale in
there's a lifecycle hook:this registers a lifecycle hook for the termination transition which does the job of adding to SQS a message which is then processed by
docker4x/guide-aws
(that runs in the managers) - I assume. However, I can't see a hook forEC2_INSTANCE_LAUNCHING
.How is that handle? Am I missing something? How does that work?
Thx a lot!