# 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](vagrant/README.md) 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

and configure Ansible to load roles from the roles directory provided by this
project.

`ansible.cfg`:
```ini
[defaults]
roles_path = .ansible/mesos-stack/roles
```

Alternatively, you can also use a `requirements.yml` file:

```yaml
- src: https://github.com/ypg-data/mesos-stack
  path: .ansible
```

and pull down the roles to your DevOps setup by running:

    $ ansible-galaxy install -r requirements.yml

# 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](vagrant/README.md) configuration.

[![Build Status](https://travis-ci.org/ypg-data/mesos-stack.svg?branch=master)](https://travis-ci.org/ypg-data/mesos-stack)

## 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

and configure Ansible to load roles from the roles directory provided by this
project.

`ansible.cfg`:
```ini
[defaults]
roles_path = .ansible/mesos-stack/roles
```

Alternatively, you can also use a `requirements.yml` file:

```yaml
- src: https://github.com/ypg-data/mesos-stack
  path: .ansible
```

and pull down the roles to your DevOps setup by running:

    $ ansible-galaxy install -r requirements.yml

Add link to Travis build status badge
Add link to Travis build status badge
