<p>I am relatively new to all these, but I'm having troubles getting a clear picture among the listed technologies. </p>

<p>Though, all of these try to solve different problems, but do have things in common too. I would like to understand what are the things that are common and what is different. It is likely that the combination of few would be great fit, if so what are they?</p>

<p>I am listing a few of them along with questions, but it would be great if someone lists all of them in detail and answers the questions.</p>

<ol>
<li><p>Kubernetes vs Mesos: </p>

<p>This link </p>

<blockquote>
  <p><a href="https://stackoverflow.com/questions/26705201/whats-the-difference-between-">What&#39;s the difference between Apache&#39;s Mesos and Google&#39;s Kubernetes</a></p>
</blockquote>

<p>provides a good insight into the differences, but I'm unable to understand as to why Kubernetes should run on top of Mesos. Is it more to do with coming together of two opensource solutions?</p></li>
<li><p>Kubernetes vs Core-OS Fleet: </p>

<p>If I use kubernetes, is fleet required? </p></li>
<li><p>How does Docker-Swarm fit into all the above?</p></li>
</ol>

<p><strong>Disclosure: I'm a lead engineer on Kubernetes</strong></p>
<p>I think that Mesos and Kubernetes are largely aimed at solving similar problems of running clustered applications, they have different histories and different approaches to solving the problem.</p>
<p>Mesos focuses its energy on very generic scheduling, and plugging in multiple different schedulers.  This means that it enables systems like Hadoop and Marathon to co-exist in the same scheduling environment.  Mesos is less focused on running containers.  Mesos existed prior to widespread interest in containers and has been re-factored in parts to support containers.</p>
<p>In contrast, Kubernetes was designed from the ground up to be an environment for building distributed applications from containers.  It includes primitives for replication and service discovery as core primitives, where-as such things are added via frameworks in Mesos.  The primary goal of Kubernetes is a system for building, running and managing distributed systems.</p>
<p>Fleet is a lower-level task distributor.  It is useful for bootstrapping a cluster system, for example CoreOS uses it to distribute the kubernetes agents and binaries out to the machines in a cluster in order to turn-up a kubernetes cluster.  It is not really intended to solve the same distributed application development problems, think of it more like systemd/init.d/upstart for your cluster.  It's not required if you run kubernetes, you can use other tools (e.g. Salt, Puppet, Ansible, Chef, ...) to accomplish the same binary distribution.</p>
<p>Swarm is an effort by Docker to extend the existing Docker API to make a cluster of machines look like a single Docker API.  Fundamentally, our experience at Google and elsewhere indicates that the node API is insufficient for a cluster API.  You can see a bunch of discussion on this here: <a href="https://github.com/docker/docker/pull/8859" rel="nofollow noreferrer">https://github.com/docker/docker/pull/8859</a> and here: <a href="https://github.com/docker/docker/issues/8781" rel="nofollow noreferrer">https://github.com/docker/docker/issues/8781</a></p>
<p>Join us on IRC @ #google-containers if you want to talk more.</p>
