TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

How to Set Up and Deploy to a 1000-Node Docker Swarm

117 pointsby emmetogradyalmost 9 years ago

11 comments

n0usalmost 9 years ago
This is nice but it's characteristic of most other Docker tutorials which say "just run this command" and don't bother to go into how or why it works. As a result, all the reader can do is copy and paste (if the command even works in the first place or the tutorial isn't out dated). What I think most people need to know is how they can do this but modify the app to work for their purposes instead of just "hello world".
dockinatoralmost 9 years ago
The title should be corrected to read "How to set up and deploy a 1000 node botnet". There's no mention of securing the hosts or the swarm what-so-ever.
评论 #12304301 未加载
gamednaalmost 9 years ago
This is clearly a doc based on a hypothetical assumption that he can deploy 1000 nodes. If thats the case, why not go for a cool million?<p>Just a suggestion to the OP, it not hard to setup and share a 5 node vagrant cluster on your laptop. Give concrete examples that people can run locally and test your assertions themselves. Once that foundation is laid, you can extrapolate to 10 nodes, 100 nodes, 1000 nodes.<p>Anyone that has deployed a cluster of that size knows that the article is missing a bunch of items, not limited to the following: - Overhead Instances (manager, service discorvery, loggging, etc.) - Configuration Management - Security Implications - Monitoring - Failure mitigation (its going to happen at that scale) - Update strategy at this scale<p>For those that are interested, one official doc and a good place to start when leaning how to deploy a large docker 1.12 cluster is this guide by docker.<p><a href="https:&#x2F;&#x2F;docs.docker.com&#x2F;swarm&#x2F;plan-for-production&#x2F;" rel="nofollow">https:&#x2F;&#x2F;docs.docker.com&#x2F;swarm&#x2F;plan-for-production&#x2F;</a>
评论 #12307487 未加载
评论 #12307977 未加载
rcarmoalmost 9 years ago
&quot;replacing 3 in wherever you see 1000 in this post is probably a good idea&quot;<p>...which really means &quot;I have no clue where this will break when scaling&quot;.<p>Cute, but not terribly insightful, and possibly risky in an age where following recipes off the Internet is too often the first step towards production :)
评论 #12306918 未加载
评论 #12305627 未加载
timthornalmost 9 years ago
Is the definition of bare-metal changing? It seems clear from the context that virtual machines are being used, but is that a distinction that those further up the stack don&#x27;t worry about now?
评论 #12304040 未加载
评论 #12304724 未加载
geggamalmost 9 years ago
um..... bare metal is a VM now ?<p>Buy 1000 bare metal servers<p>This one is easy. Pick your favourite cloud provider and buy lots of servers
评论 #12304845 未加载
LoSboccaccalmost 9 years ago
basically this is how the howto handles the hardest part:<p>&gt;Basically you will run docker swarm init on the first node and then docker swarm join on all the other nodes. There are a few other arguments that you’ll need to add to those commands but if you follow the docs you’ll have no problems at all.<p>worse part of the setup is how to build the cluster nodes store in a way which is redundant and reliable, since provisioning it for HA is largely undocumented and left to an exercise for the reader
评论 #12304706 未加载
redwoodalmost 9 years ago
This must be an ironic piece?
评论 #12305165 未加载
crypt1dalmost 9 years ago
Meh, the article doesn&#x27;t really bring anything new to the table.<p>If you are doing something like this, please keep in mind that this kind of DNS failover is, at best, unreliable. You have no control of how DNS is being cached on client side, and whether the client is going to switch to the next IP in the cycle if the previous one is unavailable. Proper way to do HA would be to use some kind of VIP + load balancer combination (eg, keepalived + HAProxy), which would allow you to failover the IP instead to just rely on the hostname. However if you also have a database backend to think about, then u will most likely need something like Pacemaker to ensure you don&#x27;t end up with data inconsistency (brain split scenario).
sinneduyalmost 9 years ago
am I the only one that thinks this is pretty clearly satire?
drc0almost 9 years ago
how ironic that now there is this article as first on hn <a href="https:&#x2F;&#x2F;circleci.com&#x2F;blog&#x2F;its-the-future" rel="nofollow">https:&#x2F;&#x2F;circleci.com&#x2F;blog&#x2F;its-the-future</a> :)
评论 #12304516 未加载