Skip to content

This repository contains all resources to run a simple demo of Apache Mesos by using Docker

Notifications You must be signed in to change notification settings

lorenzhohmann/docker-mesos-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Mesos Demo

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.

Requirements

You need to have docker installed on your local machine.

Setup

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.

Running a Maraton job

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.

Running a Chronos job

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.

About

This repository contains all resources to run a simple demo of Apache Mesos by using Docker

Topics

Resources

Stars

Watchers

Forks