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

<p>I read the accepted answers but I'm still confused what the differences are.</p>

<p>If Kubernetes is a cluster management then what does Mesos do (I understand what it does from watching bunch of videos but I suppose I'm more confused how those two work together)? 
From reading both Kubernetes and Marathon are "framework" sitting on top of Mesos?</p>

<p>What is Mesos responsible for and what are Kubernetes/Marathon responsible for and how do they work with each other?</p>

<p>EDIT:
I think the better question is <code>When would I want to use Kubernetes on top of Mesos vs just running Mesos alone?</code></p>

<p>Mesos is another abstraction layer. It simply abstracts underlying hardware so the software that want to run on the top of it could only define required resources without having to know any other information. </p>

<p>Kubernetes could do similar thing but without abstraction provided by Mesos you can't run other frameworks (e.g., Spark or Cassandra) on same machine without manually dividing it between those frameworks.</p>

<p><a href="https://i.stack.imgur.com/1OaBK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1OaBK.png" alt="kubernetes marathon spark on the top of mesos"></a></p>
