Git Product home page Git Product logo

quadrupleo's Introduction

QuadrupleO

OpenShift Origin On OpenStack with Terraform and Ansible Anywhere

For more information, please refer to this guide: https://goo.gl/gbnMDD

#Mission

With Terraform you can spin up your master, worker and etcd nodes on OpenStack within 1-2 minutes. You can install Terraform by following this link:

https://www.terraform.io/intro/getting-started/install.html

The config files in this Repo deploys 9 nodes (3 masters, 2 worker nodes, 3 etcds and the LB (HAProxy)) with a new network “openshift”, subnets, router, security group, etc. on your OpenStack cloud .You can adjust this script as you need, by simply commenting out the masters, nodes and HAProxy or other resources such as floatingIps, etc.

Note: these config files don't add any volumes to the hosts yet.

You can checkout the config files with:

$ git clone https://github.com/cloudssky/quadrupleo.git

$ cd quadrupleo/

$ cp terraform.tfvars.sample terraform.tfvars

And provide the right values for your OpenStack environment terraform.tfvars file (keep this file in a safe place):

$ vi terraform.tfvars

user_name = "your user name"

tenant_name = "your tenant name"

password= "your password"

auth_url = "http://<your ip/ domain>:5000/v2.0"

external_gateway = "the id of your external gateway"

image = "your image name"

pool = "external floating ip pool. default is public"

Check your plan:

Show the plan:

$ terraform plan

Save your plan

$ terraform plan -out quadrupleo-date +'%s'.plan

Provision your Origin base cluster

Now you’re ready to provision your base cluster in less than one minute:

$ terraform apply

$ terraform show

Destroy your cluster (use it with caution!!!!!)

$ terraform destroy

Terraform Graph

To create the Terraform Graph, you might want to use:

$ terraform graph > openshift.dot

$ dot openstack.dot -Tsvg -o openshift.svg

quadrupleo's People

Contributors

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