Giter Site home page Giter Site logo

openshift-utils's Introduction

openshift-utils

Some utils for Openshift admin operations

Vagrant lab

Tested with Vagrant 2.x and provider libvirt/virtualbox/vmware_fusion

Requirements

  • vagrant >= 2.0
  • hypervisor: libvirt(KVM) or virtualbox or/and vmware_fusion
  • vagrant box rhel 7.4 for your hypervisor
  • vagrant plugins:
    • vagrant-sshfs
    • vagrant-registration
    • vagrant-libvirt-plugin (if you use libvirt)
    • vagrant-vmware-plugin (if you use vmware - need license)
  • env variables:
    • RHN_USER - Red Hat Network username
    • RHN_PASS - Red Hat Network username
    • RHN_POOL_ID - Red Hat Network pool for Openshift Container Platform

Run your lab

Adjust following variables into Vagrantfile

OCP_MASTER_HOSTS = 1
OCP_NODES_HOSTS = 4
OCP_VERSION = 3.6
PRIVATE_NET = "192.167.33."
OCP_LOGGING = false
OCP_METRICS = false
OCP_SVC_CATALOG = false

then call vagrant up

NOTE: During box rising vagrant-registration plugin will register automatically your machines to RHN.

Caveats

If you want to test Vagrant lab with multiple provider on same machine, you have to change PRIVATE_NET for each provider (otherwise you'll run into a net problem).

openshift-utils's People

Contributors

miticojo avatar

Watchers

James Cloos avatar Christian Marangoni 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.