Giter Site home page Giter Site logo

cookbook-mesos's Introduction

Mesos Cookbook

Insalls and configure Mesos(http://mesos.apache.org/) master and slave.

Platform

only support ubuntu

Cookbooks

mesos::default(mesos::build_from_source)

install mesos(download zip from github, configure, make, make install).

mesos::master

configure master and cluster deployment configuration files.

  • node[:mesos][:prefix]/var/mesos/deploy/masters
  • node[:mesos][:prefix]/var/mesos/deploy/slaves
  • node[:mesos][:prefix]/var/mesos/deploy/mesos-deploy-env.sh
  • node[:mesos][:prefix]/var/mesos/deploy/mesos-master-env.sh

mesos::slave

configure slave configuration files.

  • node[:mesos][:prefix]/var/mesos/deploy/mesos-slave-env.sh

Usage

please see everpeace/vagrant-mesos.

Attributes

mesos::default(mesos::build_from_source)

Key Type Description Default
[:mesos][:version] String Version(branch or tag name at http://github.com/apache/mesos). master
[:mesos][:prefix] String Prefix value to be passed to configure script /usr/local
[:mesos][:home] String Directory which mesos sources are extracted to(node[:mesos][:home]/mesos). /opt
[:mesos][:build][:skip_test] Boolean Flag whether test will be performed. true
### mesos::master
Key Type Description Default
[:mesos][:prefix] String Prefix value to be passed to configure script /usr/local
[:mesos][:ssh_opt] String ssh options to be used in mesos-[start|stop]-cluster -o StrictHostKeyChecking=no
-o ConnectTimeout=2
[:mesos][:deploy_with_sudo] String Flag whether sudo will be used in mesos-[start|stop]-cluster 1
[:mesos][:cluster_name] String Human readable name for the cluster, displayed at webui MyCluster
[:mesos][:master][:zk] String ZooKeeper URL (used for leader election amongst masters) (optional)
[:mesos][:mater_ips] Array of String IP list of masters used in mesos-[start|stop]-cluster [ ]
[:mesos][:slave_ips] Array of String IP list of slaves used in mesos-[start|stop]-cluster [ ]
[:mesos][:master][:ip] String IP address to listen on
[:mesos][:master][:log_dir] String Location to put log files. /var/log/mesos

mesos::slave

Key Type Description Default
[:mesos][:prefix] String Prefix value to be passed to configure script /usr/local
[:mesos][:slave][:master_url] String [REQUIRED] mesos master url.This should be ip:port for non-ZooKeeper based masters, otherwise a zk://
[:mesos][:slave][:ip] String IP address to listen on
[:mesos][:slave][:log_dir] String Location to put log files. /var/log/mesos
[:mesos][:slave][:work_dir] String Where to place framework work directories. /var/run/mesos
[:mesos][:slave][:isolation] String Isolation mechanism, may be one of: process, cgroups cgroups

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write you change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github

License and Authors

Copyright:: 2009-2013 Shingo Omura, All rights reserved.

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.

cookbook-mesos's People

Contributors

everpeace avatar russellcardullo 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.