Skip to content

This project fires up a 3 nodes Mesos Cluster with Marathon and Chronos configured and running on your local machine using a single command.

Notifications You must be signed in to change notification settings

WUMUXIAN/mesos-ansible

Repository files navigation

mesos-ansible

This Project is a test of mesos cluster environment on a local machine using Vagrant, VirtualBox and Ansible. It can repeatly build up a 3 nodes mesos cluster (configure the Vagrantfile to change the number based on the capaticy of your machine) in mins with zero configuration using a single command.

Prerequisities

Fire up the cluster using

vagrant up

Wait for a few mins for it to complete, after completion, you can access mesos, marathon and chronos using:

Stop the cluster using

vagrant halt

Destroy the cluster using

vagrant destroy -f

What's built out of the box.

  1. A mesos cluster running on 3 virtual machines with 1 master working with zookeeper and 3 slaves.
  2. Marathon and Chronos framework installed, configured and running.
  3. Mesos-DNS installed, configured and running using marathon.
  4. One simple python webapp running on marathon. (3 instances)
  5. One simple docker webapp running on marathon. (3 instances)
  6. A simple task that dumps date into /tmp/job.log every 5 mins scheduled by Chronos.
  7. Splitted logs in /var/log/mesos

About

This project fires up a 3 nodes Mesos Cluster with Marathon and Chronos configured and running on your local machine using a single command.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published