Giter Site home page Giter Site logo

lukeelten / openshift-aws Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 1.0 1.25 MB

Automated OpenShift installation into AWS

License: MIT License

Shell 3.04% Makefile 0.11% Go 64.78% HCL 30.70% Dockerfile 1.37%
golang terraform aws openshift openshift-origin ansible docker docker-image

openshift-aws's Introduction

Automated OpenShift Installation for AWS

Prerequisites

  • Docker Container Engine (Version: >= 17.09)

Supported OS

  • Linux
  • MacOS

It should work properly with Docker for Windows, nevertheless it is not supported or tested.

Quick Start

Configuration

Available Scripts

There are three bash scripts available which make life easier.

Building the application

All parts of the application can be build using a provided script. The following dependencies are required:

  • Docker
  • Git

There are no more dependencies, compilation will take place inside a docker image.

./build.sh

Creating a cluster

./run.sh -name="Test Cluster"

Required Parameters

AWS Keys

Parameter Description
-aws-key AWS access key id. If empty the credentials used for AWS CLI will be loaded
-aws-secret AWS secret key. If empty the credentials used for AWS CLI will be loaded

Optional Parameters

Parameter Description
-skip-terraform Skip terraform invocation. This should be used if there is an already existing infrastructure.
-skip-config Skip generation of configuration files. This is useful when there are already configuration files and only the installer should be run. Nevertheless recreating the configuration files would not harm the system.
-skip-pre Skip prerequisites playbooks of OpenShift installer. This is useful when restarting the installer due to a previous failure.
-verbose Enables Ansible -vvv verbose mode

Destroying a cluster

If you want to delete a previously created cluster, simply run

./destroy.sh

It is important that the files generated during creation are still available. At least the Terraform state (terraform.tfstate) and the Terraform configuration (configuration.tfvars) must be available.

Attention: After a successful destruction the terraform state and the old SSH key will be removed automatically.

openshift-aws's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

socialskyinc

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.