Skip to content
This repository has been archived by the owner on Jan 18, 2023. It is now read-only.

Latest commit

 

History

History
100 lines (70 loc) · 3.27 KB

README.md

File metadata and controls

100 lines (70 loc) · 3.27 KB

Marathon Cookbook

Build Status

Description

Application cookbook for installing Mesosphere's Marathon. Marathon is an Apache Mesos framework for long-running services.

Requirements

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.

Platform:

Tested on

  • Ubuntu 16.04
  • Ubuntu 14.04
  • CentOS 7.2
  • CentOS 6.8

This cookbook includes cross-platform testing support via test-kitchen.

Attributes

  • 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.

Development

Please see the Contributing and Issue Reporting Guidelines.

License and Author

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.