Deploying and configuring a Mesos cluster using Chef
Chef is both the name of a company and the name of a configuration management tool written in Ruby and Erlang. It uses a pure Ruby domain-specific language (DSL) to write system configuration "recipes". This module will explain how to install and configure the Apache Mesos master and slave using the Chef cookbook. Chef is a configuration management tool to automate large-scale server and software application deployments. We will assume that the reader is already familiar with Chef. The following repository will be used for reference:
https://github.com/everpeace/cookbook-mesos.
The Chef cookbook version at the time of writing this book supports the Ubuntu and CentOS operating systems. The CentOS version is experimental and is not recommended for use in a production environment. Ubuntu 14.04 or higher is required to make use of the cgroups isolator or Docker container features. Only Mesos 0.20.0 and later supports Docker containerization...