Mesos Cluster
Scripts to configure a Mesos cluster using Mesos and Mesosphere services.
The main features are:
- Mesos master running the Marathon and Chronos frameworks
- Mesos agent with Docker containerizer
- Mesos DNS for core service discovery
- Marathon load balancer using HAProxy for SSL and proxying to internal applications
To try it out locally use the Vagrant configuration.
Usage
To use the scripts to build a custom Mesos cluster first install the roles in your project:
$ ansible-galaxy install --force --roles-path .ansible \ https://github.com/ypg-data/mesos-stack,0.4.0 and configure Ansible to load roles from the roles directory provided by this project.
ansible.cfg:
[defaults] roles_path = .ansible/mesos-stack/roles Alternatively, you can also use a requirements.yml file:
- src: https://github.com/ypg-data/mesos-stack path: .ansible version: 0.4.0 and pull down the roles to your DevOps setup by running:
$ ansible-galaxy install -r requirements.yml