Git Product home page Git Product logo

openshift-on-equinix-metal's Introduction

Openshift on Equinix Metal

This collection of modules will deploy a bare metal OpenShift using the assisted installer.

Install Terraform

Terraform is just a single binary. Visit their download page, choose your operating system, make the binary executable, and move it into your path.

Here is an example for macOS:

curl -LO https://releases.hashicorp.com/terraform/1.2.3/terraform_1.2.3_darwin_amd64.zip
unzip terraform_1.2.3_darwin_amd64.zip
chmod +x terraform
sudo mv terraform /usr/local/bin/

Example for Linux:

wget https://releases.hashicorp.com/terraform/1.2.3/terraform_1.2.3_linux_amd64.zip
unzip terraform_1.2.3_linux_amd64.zip
sudo install terraform /usr/local/bin/

Additional requirements

local-exec provisioners require the use of:

  • curl
  • jq

To install jq on RHEL/CentOS:

wget https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64
sudo install jq-linux64 /usr/local/bin/jq

Download this project

To download this project, run the following command:

git clone https://github.com/waynedovey/openshift-on-equinix-metal.git
cd openshift-on-equinix-metal

Usage

  1. Obtain an OpenShift Cluster Manager API Token for pullSecret generation.

  2. Configure TF_VARs applicable to your Equinix Metal project, DNS settings, and OpenShift API Token:

    export TF_VAR_project_id="CHANGEME"
    export TF_VAR_auth_token="CHANGEME"
  3. Initialize and validate terraform:

    terraform init -upgrade
    terraform validate
  4. Provision all resources and start the installation. This process takes between 30 and 50 minutes:

    terraform apply -target metal_spot_market_request.bastion -target metal_spot_market_request.master0
    terraform apply -target metal_spot_market_request.bastion -target metal_spot_market_request.master0 -target metal_spot_market_request.master1 -target metal_spot_market_request.master2
    terraform apply

openshift-on-equinix-metal's People

Contributors

waynedovey avatar

Watchers

 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.