O'Reilly logo

Microservices Deployment Cookbook by Vikram Murugesan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Setting up a Mesos cluster using Docker

In this recipe, we will be learning how to orchestrate our first Mesos Cluster with Marathon framework configured. We will be orchestrating this cluster in our local machine using Docker and Docker Compose.

Getting ready

Now that we know what Mesos is and why we use it to deploy our microservice, let's orchestrate our first Mesos cluster. In order to do so, we first need to understand the building blocks of Mesos. Mesos is made of the following four components:

  • Zookeeper
  • Mesos master
  • Mesos slaves (also called as agents)
  • Mesos frameworks

Zookeeper

Zookeeper is an open source tool from Apache used for centralizing cluster information or other configurations. Mesos uses Zookeeper to store its cluster information. One ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required