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.

Why Kubernetes is winning the container war

269 pointsby bdburnsover 8 years ago

27 comments

avitzurelover 8 years ago
I&#x27;ve used both mesosphere and Kube now (in production) and I feel I can safely comment on this.<p>Kube is winning for the same reason React&#x2F;Redux (and now Mobx) is winning and why Rails was winning at the time. Community.<p>The community for Kube is awesome and the work people are doing in the field is being noticed all over the place.<p>I&#x27;ve seen people (myself included) that moved production clusters from mesos to Kube just because the activity of the development and how secure they feel with the community and the project going forward.<p>React and Rails (at the time) had the same sort of pull towards the community and why a lot of people on-boarded.<p>Golang is most likely a factor here too. I feel most people find Golang friendlier than Scala&#x2F;Java. That&#x27;s why Kube has many more contributors, the hurdle for contributing is easier to jump
评论 #12464849 未加载
评论 #12464809 未加载
评论 #12464695 未加载
tzamanover 8 years ago
For a devOps fan like me, k8s has been a godsend, and what I like in particular is their 3 month release schedule. There are still some hiccups like no good documentation (or a tutorial really) on setting up shared writeable storage and how to handle databases, or more importantly replication.<p>The k8s team is very responsive and I&#x27;m sure these will be ironed out in the near future so we can all adore each other&#x27;s cattle :)
评论 #12462957 未加载
评论 #12465694 未加载
评论 #12462846 未加载
amr_abdelrazikover 8 years ago
Disclaimer: I work for Mesosphere (Champions of Apache Mesos and DC&#x2F;OS)<p>We have total respect for K8s, but I don&#x27;t think you can claim winning just based on the community and stars.<p>OpenStack has a huge larger community of developers and advocates, but it is still haven&#x27;t reached it&#x27;s potential despite many years and incredible effort, seminars and summits<p>Also most of these next gen infr projects now (DC&#x2F;OS which is powered by Mesos, K8s, docker swarm ) are converging feature wise, but they also have their strengths and weaknesses, some of these are temporary, some of these are structurally by design<p>Mesos (and DC&#x2F;OS) were not just designed for scale, but also for extensibility and different workloads, which is why you can run Cassandra, Kafka, Spark, ..etc In production. None of these workloads run as traditional containers, with DC&#x2F;OS they have their own operational logic such as honoring placement, simple installation, and upgrade, which is a core design function of the two-level scheduler<p>People usually complain that standing up Mesos is hard, which is why we we built DC&#x2F;OS and open sourced it to give you the power of mesos and its awesome capabilities in managing containers and data workloads without going through all the effort to stitch everything yourself. Check it out at DCOS.io, I am sure you guys will be blown away.
评论 #12464348 未加载
评论 #12464958 未加载
评论 #12464323 未加载
leetroutover 8 years ago
I know it&#x27;s young still, but I think Nomad is going to get a share of this market with little effort.<p>I played with Mesos &amp; k8s and I picked Nomad instead. Now I&#x27;m not managing a huge fleet of servers I want to abstract away as much as I wanted a simple, consistent framework for allocating resources to containerized tasks across a small group of nodes. And I don&#x27;t think that use case is anything to sneeze at and for a new user there just isn&#x27;t anything out there as easy as nomad IMO.<p><a href="https:&#x2F;&#x2F;www.nomadproject.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.nomadproject.io&#x2F;</a>
评论 #12463432 未加载
评论 #12464134 未加载
评论 #12463426 未加载
评论 #12464578 未加载
batmansmkover 8 years ago
It pretends to compare Kubernetes, Apache Mesos and Docker Swarm. This article says Kubernetes has a lot of stars on github (doesn&#x27;t compare it to Docker or Mesos, only says Kubernetes has a lot), same for Slack&#x2F;Stack Overflow and number of CVs mentioning the tech ... I will pass Infoworld opinion from now on.
评论 #12469357 未加载
virtualnmover 8 years ago
I can bring up an app on Linux or Windows from bare metal in minutes by hand. But the way it&#x27;s supposed to be done now is something like this, right:<p><pre><code> 1) Use one of Chef&#x2F;Puppet&#x2F;Salt&#x2F;Ansible to orchestrate 2) One if those in item 1 will use Vagrant which 3) Uses Docker or Kubernetes to 4) Set up a container which will 5) finally run the app </code></pre> Really?
评论 #12463068 未加载
评论 #12463126 未加载
评论 #12462912 未加载
评论 #12462878 未加载
评论 #12462900 未加载
评论 #12462963 未加载
评论 #12463277 未加载
评论 #12463525 未加载
评论 #12464402 未加载
评论 #12462915 未加载
评论 #12464225 未加载
stcredzeroover 8 years ago
<i>It&#x27;s all about knowing how to build an open source community</i><p>This. Engineering excellence is secondary. You can get away with complete craptitude in your tech if you can build community. (I won&#x27;t name examples.) Of course, it&#x27;s better if you also have technical excellence. On the other hand, you can have technical excellence, but it will come to naught if you have community destroying anti-patterns.
mr_lucover 8 years ago
In my experience, I haven&#x27;t been coming to k8s because I particularly like the developer experience (despite their efforts to focus heavily on it), but because it cleanly supported some things that I need.<p>For instance, with k8s, out of the box every running container in a clustered system is discoverable and has its own IP. If you&#x27;re writing distributed applications, and you&#x27;re using containers principally as a tool to make your life easier (and not as part of an internal paas or for handling data pipelines or some other use case), having that sort of discovery available out of the box is great.
_asummersover 8 years ago
One thing I&#x27;ve found extremely difficult to handle is the Zookeeper cluster model of containers. Where when a thing dies, a thing has to come back and be able to referred to as &quot;zookeeper-1&quot; forever. The way to do this currently is to use a service in front of a replication controller with one pod. This feels wrong all over. Supposedly they have a thing called Pet Sets [1] coming to solve this, but it&#x27;s been in the works for an eternity. Also we&#x27;ve started to outgrow the load balancing simplicity that the k8 load balancer gives you, and I have not seen a nice migration path to something like HAProxy in Kubernetes. All that said, we like kubernetes a lot.<p>[1] To distinguish from cattle. If you have a red blue and green goldfish, and your red goldfish dies, you can replace with another red fish and not really notice, but if it&#x27;s purple, the others won&#x27;t play with it.
评论 #12463006 未加载
评论 #12463688 未加载
评论 #12463260 未加载
评论 #12465474 未加载
评论 #12465436 未加载
avitzurelover 8 years ago
One thing that I think Kube (and dc&#x2F;os) are missing is what Chef is working on right now. Application definition should live within the app and consumed by the scheduler.<p>Chef&#x27;s product is called Habitat <a href="https:&#x2F;&#x2F;www.habitat.sh&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.habitat.sh&#x2F;</a> and it has some VERY interesting concepts that if Kube will implement it will be much more interesting (to a lot of people).<p>Right now, the deployment and configuration of an application is supposed to be separated but I feel they need to be just a bit more coupled. An engineer that develops the application will define a few things like &quot;domain&quot; and how you connect to the application and this will be consumed by the scheduler.<p>Right now, dc&#x2F;os and mesos are really fine grained around the DevOps people and I feel that the first that will crack the &quot;batteries included&quot; approach will win the fight by a knock-out.<p>Imagine something like Heroku on your own infrastructure, if an engineer can launch and deploy a micro-service with the same ease they deploy and access a Heroku application. That will be awesome.
评论 #12465619 未加载
评论 #12465182 未加载
评论 #12466042 未加载
评论 #12464935 未加载
评论 #12465163 未加载
评论 #12465620 未加载
sebringjover 8 years ago
Just as an outside observer developing on a platform, I see my fellow devOps team members working in Kubernetes and it&#x27;s been a shit storm for the most part where containers disappear randomly, stuff breaks and they are on call on the weekends not having fun. I have my own clients on other projects using AWS where I just upload and click buttons like a dumb monkey and I end up looking more competent even though I&#x27;m completely not. I&#x27;ve consequently not been motivated to dive into these DIY deployments just yet.
spudfkcover 8 years ago
I haven&#x27;t dived into Kubernetes yet, but I set up Rancher for our new application and it has been nothing short of amazing so far. I can&#x27;t express how happy we&#x27;ve been with it.<p>I previously tried the Mesos&#x2F;Marathon route (with Mesosphere and then again with Mantl) and that was nothing but a huge waste of time due to all the maintenance that was necessary for all the required servers. With Rancher, it&#x27;s just spin up a container for each host with a single command and you&#x27;re done.
评论 #12463961 未加载
pawaduover 8 years ago
From the subtitle:<p><i>It&#x27;s all about knowing how to build an open source community -- plus experience running applications in Linux containers, which Google invented</i>
评论 #12462796 未加载
评论 #12463039 未加载
0xCMPover 8 years ago
The setup to get k8s running isn&#x27;t great, but once it&#x27;s running and you understand it&#x27;s config files it makes things so much easier. We&#x27;re getting ready to deploy k8s at work soon and begin moving more there as we can.<p>From what I understand, and is completely not in the article, Mesos is designed for scale while most start-ups (and even established companies) can&#x27;t afford or justify. K8s is simpler but still robust. Better than just fleet or compose and clearly still better than swarm (based on posts read here on hn).
评论 #12463657 未加载
评论 #12463358 未加载
评论 #12462986 未加载
评论 #12463953 未加载
评论 #12465087 未加载
DubiousPusherover 8 years ago
Seems like &quot;Why Kubernetes is winning the orchestration war&quot; is a more appropriate title for this?
technologiaover 8 years ago
I use Mesos and K8s heavily as well as contribute back to the projects, and while I do agree this is leaning towards being fan-fare there is a bit of truth to this.<p>Community is a big deal, people tend to underestimate this; Putting aside newer companies, when a larger enterprise ventures out to open source they do take community as a major factor as you have to consider the tool you build will have to last 5 years, maybe 10, maybe more.<p>To delve further into the Docker side of things, I personally wish that the company would focus on its core business instead of stretching itself with extra things. I get the need to improve the UX, which they do very well considering how far we have come from LXC.<p>I feel Mesosphere starting to go down the feature creep route as well, but I wish them all the best as I loved Mesos since the beginning all those years ago.
aCandidMindover 8 years ago
Why is no one mentioning Docker&#x27;s response with version 1.12, the new built-in orchestration called swarm mode (different than just swarm): <a href="http:&#x2F;&#x2F;blog.nigelpoulton.com&#x2F;docker-launches-kubernetes-killer&#x2F;" rel="nofollow">http:&#x2F;&#x2F;blog.nigelpoulton.com&#x2F;docker-launches-kubernetes-kill...</a><p>Granted, the title is fanboyish, but it really seems to be a significant response to Kubernetes.
contingenciesover 8 years ago
IMHO nobody is winning anything that matters right now because the current transition is a transition to an additional level of abstraction which is <i>definitely</i> not properly met by any of the tools available.<p>What we now need is <i>tools that allow architectural fences around components, and reliability guarantees around subsystems</i> ... versus not only technical but also business-level risks (including state-level actors)... often across borders, including for example exchange rate risk. This is based on business-level risk models, not some engineer feels X or Y type reasoning which is (often very well, but broad-picture uselessly) based on technical know-how.<p>I prototyped such a system pretty successfully, you can read the design @ <a href="http:&#x2F;&#x2F;stani.sh&#x2F;walter&#x2F;cims&#x2F;" rel="nofollow">http:&#x2F;&#x2F;stani.sh&#x2F;walter&#x2F;cims&#x2F;</a> .. it&#x27;s incomplete (critically hard to explain investment utility for non-tech business types) but at least infrastructure agnostic and practically informed.<p>NB. To be non-humble, by way of demonstration I am a guy who has been called to conceive&#x2F;design&#x2F;set up&#x2F;manage from-scratch datacenters for extremely visible businesses with highly motivated attackers with USD$Ms at stake for penetration. Systems I personally designed run millions of USD&#x2F;month and have many times that in investment. And it&#x27;s obvious that both Google (&quot;compete with amazon on cloud business... high-level desperate for non-advertising income!&quot;) and Docker (&quot;VC! growth! growth! growth!&quot;) have their own agendas here... we should trust no-one. It&#x27;s early days. Bring on the ideas, build the future. Hack, hack, hack. We the little people own the future. It&#x27;s ideas.
huntcover 8 years ago
Looking through all of these comments we should be glad, as a community, that there are a number players in this burgeoning orchestration space. Nobody has won and nobody should win. They each have their strengths and weaknesses and there is no one size that fits all.
graffiticiover 8 years ago
Sad to see Mesos losing steam. My understanding was that Mesos subsumes the functionality of Kubernetes thanks to its Aurora scheduler. But it has much more customized schedulers, for different purposes, that might make it more efficient to run complicated pieces of software.<p>For instance, it certainly is possible to run a Cassandra cluster by having each instance run in its own Docker container. My understanding is that it would be much more efficient to run this cluster with a dedicated Cassandra cluster instead.<p>Is this right? Or are the performance benefits of running a dedicated Cassandra scheduler on Mesos negligible compared to running them in containers?
appleppleover 8 years ago
It would be nice if open source projects (especially popular databases) came with k8s definition files so that you wouldn&#x27;t have to write the yaml yourself.
评论 #12463785 未加载
paimpozhilover 8 years ago
I wish kubernetes has more examples for example their vsphere volume driver has almost 0 documentation&#x2F;tutorials on how to set that up.<p><a href="http:&#x2F;&#x2F;kubernetes.io&#x2F;docs&#x2F;user-guide&#x2F;volumes&#x2F;#vsphere-vmdk-example-configuration" rel="nofollow">http:&#x2F;&#x2F;kubernetes.io&#x2F;docs&#x2F;user-guide&#x2F;volumes&#x2F;#vsphere-vmdk-e...</a><p>I believe is inadequate
评论 #12470383 未加载
shadykillerover 8 years ago
The author is just gaga over google. He presents no comparison, no benchmarks and no mention of alternatives except docker swarm.
iagooarover 8 years ago
What is the best resource to learn Kubernetes like a boss? I like ebooks, but will take anything, as long as it&#x27;s up-to-date and easy to follow without being a long-term sysadmin.
评论 #12462863 未加载
评论 #12463065 未加载
评论 #12463389 未加载
nzoschkeover 8 years ago
These articles never mention the elephant in the room, AWS.<p>How many containers are running on Elastic Beanstalk and ECS?<p>I&#x27;d wager magnitudes more are running containers by reading the docs and clicking around than those that mastering the cutting edge challenges getting running on Mesos, Kube or Swarm.<p>Another blind spot is Heroku. Every day new businesses spin up containers with a &#x27;git push Heroku master&#x27; and don&#x27;t even know about it.<p>All these providers, platforms and tools have their place.<p>I simply don&#x27;t think the &quot;winning the war&quot; talk is accurate or constructive.<p>Disclaimer: I worked on the container systems at Heroku and now manage 100s of production ECS clusters at Convox.
评论 #12467045 未加载
runakoover 8 years ago
On Safari OS X, the article is blocked by a full-page ad that I can&#x27;t dismiss.
评论 #12462615 未加载
kbredemeierover 8 years ago
Innovation is what makes this industry so exciting to be a part of. I joined the tech world, via Holberton School[1] just a mere nine months ago, and already so much has changed. It makes it challenging to keep up, but that&#x27;s the fun part.<p>The future of technology is held in the hands of open source projects.<p>[1] <a href="https:&#x2F;&#x2F;www.holbertonschool.com" rel="nofollow">https:&#x2F;&#x2F;www.holbertonschool.com</a>