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.

Borg, Omega, Kubernetes: Lessons learned from container management over a decade

292 pointsby alanfranzabout 9 years ago

5 comments

hoshabout 9 years ago
This is a great read. It&#x27;s a fairly coherent summary of the things I intuitively felt great about Kubernetes, and discusses it plainly and explicitly.<p>Towards the end of the article, the authors mention the open challenges.<p>Unbeknownst to me, I had been working on something that attempts to address some of that. It is my sixth attempt at a tool like this. It came out from when I saw how many dev environments attempting to use Docker Compose ended up with a large, ad-hoc collection of Bash scripts.<p>The project is called Matsuri, and it is found here: <a href="https:&#x2F;&#x2F;github.com&#x2F;shopappsio&#x2F;matsuri" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;shopappsio&#x2F;matsuri</a><p>It&#x27;s intended as a framework for programmatically generating manifests and executing kubectl commands. It doesn&#x27;t try to have a lot of opinions (at least, opinions that you can&#x27;t change). The idea is that your platform support tool is like any other app, and should be tailored to your specific collection of apps.<p>It also has a notion of Apps, which are a bundle of K8S resources declared as dependencies. But that&#x27;s as far as I gotten -- it has a fairly anemic convergence tool. I was more concerned about standardizing builds, pushes, updates (collection of rollouts, migrations, etc.), shell commands, &quot;console&quot; commands, etc. These are all achieved by expecting Apps to define callback hooks for those actions.<p>I don&#x27;t know if this is useful or interesting to anyone else. But if anyone is interested, feel free to contact me about it.
评论 #11223505 未加载
评论 #11219887 未加载
评论 #11223204 未加载
jamesblondeabout 9 years ago
It is interesting to see the evolution of cluster scheduling at Google. Mostly, it has been driven by the desire to improve resource utilization - with a second thought given to usability. Their first go with Borg was centralized, correct, and enabled global state to make good scheduling decisions. Then they tried Omega, which never made it to production. But they subsequently separated scheduling from resource tracking in Borg (one scheduler node, ~5 paxos nodes handling resource notifications&#x2F;communicating scheduling decisions with workers). Again, all optimizing utilization. Kubernetes, however, is about making it easier for developers. So, one IP per pod - unlike Borg, where containers share the host IP. I like Kubernetes, but adoption has been slow. It will be interesting to see how it develops - whether it will subsume Mesos. How it will stack up against Hadoop&#x2F;YARN.
评论 #11220880 未加载
alexc05about 9 years ago
The thing I&#x27;m still struggling to wrap my head around with kubernetes (and docker in general) is the management of data persistence.<p>If I have a pod of containers everything I read seems to say that containers need to be &#x27;stateless&#x27; and if you&#x27;re running kubernetes, will likely also be transient based on the system load &amp; scale.<p>So if any container in a pod could go away or be spun up at any time, if it could live on any virtual machine in a cluster of physical machines...<p>where do you keep the physical database file so that it is accessible to all different instances? How do the multiple instances access it at the same time? Generally, how does the database layer &quot;work&quot; in container land?<p>It&#x27;s the only piece that I really struggle to understand.
评论 #11223038 未加载
评论 #11223208 未加载
评论 #11223200 未加载
评论 #11223634 未加载
评论 #11223335 未加载
评论 #11227727 未加载
abraaeabout 9 years ago
I always admire papers that make the virtual things we wrangle with all day seem even more physical.<p>This achieves that with its (afaik) novel usage of &quot;hermetic&quot;:<p><pre><code> The key to making this abstraction work is having a hermetic container image. </code></pre> Poetry.
评论 #11220497 未加载
xplotabout 9 years ago
This is gold.