Mesos is built using the same principles as the Linux kernel, only at a different level of abstraction

The Mesos kernel runs on every machine and provides applications (e.g., Hadoop, Spark, Kafka, Elasticsearch) with API's for resource management and scheduling across entire datacenter and cloud environments

Kubernetes is an open source system for automating deployment, scaling, and management of containerized applications

It groups containers that make up an application into logical units for easy management and discovery. Kubernetes builds upon running production workloads at Google, combined with best-of-breed ideas and practices from the community