Deploying your microservice to Mesos using Marathon
Now that we have a fully functional Mesos cluster with the Marathon framework, we are ready to spin off new tasks (or Docker containers) on Marathon. In this recipe, we will deploy our Dockerized geolocation microservice on Marathon.
Before you start, make sure your Mesos cluster is up and running. You can do this by executing the
docker ps -a command. You should see four containers running: Mesos master, Mesos slave, Marathon, and Zookeeper:
Sometimes, it is possible that either the Mesos master or slave, or even the Marathon container, might go down. This usually happens when it ...