This repository contains all resources for running a simple demonstration of Apache Mesos. It contains an Apache Mesos Master instance, 3 Mesos Agents (width different resources), a Marathon and a Chronos instance and an Apache Zookeeper instance, that can run docker containers as demo jobs.
You need to have docker installed on your local machine.
Clone this repository:
git clone https://github.com/lorenzhohmann/docker-mesos-demo.git
cd docker-mesos-demo
Start all docker containers by running:
docker compose up -d
That's it. The Mesos UI should be available at http://localhost:5050 and the Marathon UI at http://localhost:8080.
Open the Marathon UI and create a new job. Parse the content from the demo-job.json
or the nginx-job.json
in the JSON view and submit the job.
You can now switch to the Mesos UI to see the progress and task distribution in Apache Mesos.
Open the Marathon UI and create a new job. Parse the content from the chronos-job-cmd.txt
in the command field and submit the job.
You can now switch to the Mesos UI to see the progress and task distribution in Apache Mesos.