|
|
|
|
|
by zbjornson
3525 days ago
|
|
(Aside from the issues with reason #1 for not using consul noted below...) The author says that Atlas is essentially "required" for bootstrapping. We simply use our cloud provider's "list-instances" command (with a filter) so that we don't rely on any third-party and never contact the internet. This is important to us for security and stability, and has kept our cluster running with over 1k members. We don't want to go down when Atlas or etcd's discovery service goes down. |
|
Last part is we have Go program (started with Bash) to do the joining.
It finds all the Consul server nodes (using tags) and then runs `consul join` until it succeeds.
There's a bunch of error checking and timeouts and such to make sure it works correctly.
I'm hoping to post a blog post about this in the next month or so.