Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

This cookbook installs DC/OS. Depending on the recipe the cookbook will either install an bootstrap node, master, agent or public_agent.

License

Notifications You must be signed in to change notification settings

Laures/cookbook-mesosphere-dcos

Repository files navigation

mesosphere_dcos Cookbook

This cookbook installs the enterprise version of mesosphere.io DCOS. Depending on the recipe the cookbook will either install an bootstrap node, master, agent or public_agent.

Requirements

packages

none

Attributes

mesosphere_dcos::default mesosphere_dcos::master mesosphere_dcos::agent and mesosphere_dcos::public

Key Type Description Default
['dcos']['bootstrap']['host'] String host of the bootstrap node to get dcos from null
['dcos']['bootstrap']['port'] int port of the http server on the bootstrap node 80
['dcos']['docker']['args'] String command line parameters that should be added to the doker service definition ''null''

mesosphere_dcos::bootstrap

This recipe also supports ALL other attributes

Key Type Description Default
['dcos']['installer']['url'] String Url of the dcos_generate_config.sh 'https://downloads.dcos.io/dcos/EarlyAccess/dcos_generate_config.sh'
['dcos']['cluster']['ipdetect'] String Type of IP-detection used during installation. Valid values are: 'aws' for Amazon EC2 instances, 'gce' for Google Container Engine instances and 'eth0' to use the eth0 Interface ip. 'eth0'
['dcos']['cluster']['name'] String Name of the Cluster. Used in the generated config 'Data Center Operation System'
['dcos']['cluster']['masters'] Search query Query for finding all intended master nodes (default: all nodes tagged with dcos_master) 'tags:dcos_master'
['dcos']['bootstrap']['port'] int port of the http server on the bootstrap node 80

Usage

Just include mesosphere_dcos in your node's run_list whith the correct recipe do identify the dcos node type:

{
  "name":"my_node",
  "run_list": [
    "recipe[mesosphere_dcos::bootstrap]",
    "recipe[mesosphere_dcos::agent]",
    "recipe[mesosphere_dcos::public]",
    "recipe[mesosphere_dcos::master]"
  ]
}

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write your 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

MIT License

About

This cookbook installs DC/OS. Depending on the recipe the cookbook will either install an bootstrap node, master, agent or public_agent.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published