This version has diverged from mdsol's marathon_cookbook until pull request 25 and 27 are merged back in. The version string is 2.1.0 for our version.
Application cookbook for installing Mesosphere's Marathon. Marathon is an Apache Mesos framework for long-running services.
Chef 12.0.0+
This cookbook also assumes you will be running a zookeeper cluster for production use of Mesos and Marathon.
This cookbook also depends on the mesos cookbook.
The following cookbooks are dependencies:
The following cookbooks are recommended:
- zookeeper
This cookbook is tested by running Marathon without ZooKeeper support, however it is currently not recommended to run it in this way in production. Please use a wrapper cookbook to set up a ZooKeeper + Mesos + Marathon stack in your environment.
Tested on
- Ubuntu 16.04
- Ubuntu 14.04
- CentOS 7.2
- CentOS 6.8
This cookbook includes cross-platform testing support via test-kitchen
.
-
node['marathon']['version']
- Marathon version to install. -
node['marathon']['source']['url']
- Marathon tarball URL. -
node['marathon']['source']['checksum']
- Tarball SHA-256 checksum. -
node['marathon']['home']
- Home installation directory. Default: '/opt/marathon'. -
node['marathon']['user']
- The user to run tasks as on mesos slaves. Default: 'marathon'. -
node['marathon']['group']
- The group to run tasks as on mesos slaves. Default: 'marathon'. -
node['marathon']['jvm']['Xmx512m']
- JVM option. Default: 'true'. -
node['marathon']['flags']['master']
- The URL of the Mesos master. Default: 'zk://localhost:2181/mesos'.
Note: Both the ['jvm'] and ['flags'] node support dynamic generation of all JVM and Marathon command line flags. Please read the the wrapper template to see how these are generated.
Please see the Contributing and Issue Reporting Guidelines.
- Author: Ray Rodriguez([email protected])
- Contributor: Robert Veznaver([email protected])
Copyright 2015 Medidata Solutions Worldwide
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.