Giter VIP home page Giter VIP logo

ansible-mesos's Introduction

ansible-mesos - Ansible Playbook for Mesos

Build Status

Overview

The ansible-mesos role supports the installation and configuration of a mesos cluster with options for master, slave or a master-slave setup. It supports Ubuntu and RedHat/Centos.

It also allows the setting of specific slave executors so you can run with native docker support.

Requirements

  • ansible-zookeeper, or a zookeeper server

Configuration

Combined with Ansible groups this role makes it easy to specify a multi-node Mesos master for high availability. There is one variable in your playbook to override:

  • zookeeper_hostnames specifies the list of zookeeper nodes used by Mesos for HA. By default this is the current node hostname and the default zookeeper port localhost:2181. It can be constructed in your playbook by combining all nodes in your zookeeper group:

    • { role: 'ansible-mesos', zookeeper_hostnames: "{{ groups.zookeeper_hosts | join(':' + zookeeper_client_port + ',') }}:{{ zookeeper_client_port }}" }

which produces zookeeper1:2181,zookeeper2:2181,zookeeper3:2181. This gets merged into the mesos_zookeeper_masters uri.

You may also want to specify a mesos_quorum value of n/2 + 1, where n is the number of nodes, as Mesos uses a replicated_log by default.

Docker Support

Docker is only required on slave nodes and is not installed by default. To use docker with Mesos ensure that docker is installed on slave nodes. You can then set mesos_containerizers: "docker,mesos" for slave nodes.

See the vars/main.yml file for specific role settings and the Mesos configuration page for Mesos settings.

ansible-mesos's People

Contributors

antonlindstrom avatar jasongiedymin avatar mhamrah avatar robzienert avatar wfarr avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.