Skip to content

miticojo/openshift-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Some utils for Openshift admin operations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published