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.
vagrant up
Wait for a few mins for it to complete, after completion, you can access mesos, marathon and chronos using:
- https://192.168.33.10:5050 -- Mesos
- https://192.168.33.10:8080 -- Marathon
- https://192.168.33.10:4400 -- Chronos
vagrant halt
vagrant destroy -f
- A mesos cluster running on 3 virtual machines with 1 master working with zookeeper and 3 slaves.
- Marathon and Chronos framework installed, configured and running.
- Mesos-DNS installed, configured and running using marathon.
- One simple python webapp running on marathon. (3 instances)
- One simple docker webapp running on marathon. (3 instances)
- A simple task that dumps date into /tmp/job.log every 5 mins scheduled by Chronos.
- Splitted logs in /var/log/mesos