Giter Club home page Giter Club logo

ocp-doit's Introduction

OpenShift Installer OpenStack Dev Scripts

Pre-requisites

  • CentOS 7
  • ideally on a bare metal host
  • user with sudo access

Instructions

1) Create local config

Create a config file based on the example and set values appropriate for your local environment.

$ cp config_example.sh config_${USER}.sh

2) Run the scripts in order

  • CONFIG="config_user.sh" ./01_install_requirements.sh
  • CONFIG="config_user.sh" ./02_run_all_in_one.sh
  • CONFIG="config_user.sh" ./03_configure_undercloud.sh
  • CONFIG="config_user.sh" ./04_ocp_repo_sync.sh
  • CONFIG="config_user.sh" ./05_build_ocp_installer.sh

and finally, run the OpenShift installer to do a deployment on your local single node OpenStack deployment:

  • CONFIG="config_user.sh" ./06_run_ocp.sh

Once the installer is running and the VMs have been created, the following script will add an /etc/hosts entry for the floating IP of the service VM hosting the API load balancer. This is required for the installer to be able to look up the API hostname and talk to the API.

  • CONFIG="config_user.sh" ./expose_ocp_api.sh

Customizing Deployment

You may need to provide further customization to your deployment, such as limiting the number of master and worker nodes created to fit in your development environment. You can do this by generating and editing the install-config.yaml file before launching the deployment.

  • CONFIG="config_user.sh" ./06_run_ocp.sh create install-config
  • `${EDITOR} ocp/install-config.yaml
  • CONFIG="config_user.sh" ./06_run_ocp.sh

3) Installer Dev Workflow

Once you have a complete working environment, you do not need to re-run all sripts. If you're making changes to the installer, your workflow would look like:

  • ocp_cleanup.sh
  • CONFIG=”config_user.sh” build_ocp_installer.sh
  • CONFIG=”config_user.sh” 06_run_ocp.sh

ocp-doit's People

Contributors

flaper87 avatar imain avatar russellb avatar tomassedovic avatar mwhahaha avatar

Watchers

James Cloos 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.