Coder Social home page Coder Social logo

dcos-ansible's Introduction

Documentation for dcos-ansible

This repo contains Ansible playbooks that can be used to deploy a DC/OS cluster running the community version of DC/OS.

Dependencies

We assume you at least 4 systems, each of which has CentOS 7.2 or 7.3 installed. This may work on 7.4, however it has not been tested, nor has this been tested on RHEL and will likely not work due to yum repositories that will be added to the cluster to install Docker.

Ansible needs to be installed on the system that will drive the deployment process. For installation instructions, refer to the Ansible install docs found here.

You will need to have an SSH key installed on your remote systems before you proceed with the installation.

Usage

Clone this repository:

git clone https://github.com/dparrish-mesosphere/dcos-ansible.git
cd dcos-ansible

Update the hosts file with the IP addresses or hostnames of the systems you would like to use for your cluster, for example:

[bootstrap]
10.0.0.5

[masters]
10.0.0.100
10.0.0.101
10.0.0.102

[public-agents]
10.0.0.200
10.0.0.201

[private-agents]
10.0.0.150
10.0.0.151
10.0.0.152
10.0.0.153
10.0.0.154

[dcos-cluster:children]
masters
public-agents
private-agents

If you have not already made an ssh connection to your remote systems, you will want to disable Ansible host key checking. This can be done in one of the following ways:

export ANSIBLE_HOST_KEY_CHECKING=False

Or by creating/modifying ~/.ansible.cfg with the following option:

[defaults]
host_key_checking=False

When ready to start installing DC/OS, run the following command:

ansible-playbook -i hosts --private-key <path_to_ssh_key> --extra-vars="dcos_version=dcos-1.10" main.yaml

dcos-ansible's People

Contributors

dparrish-mesosphere 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.