Some utils for Openshift admin operations
Tested with Vagrant 2.x and provider libvirt/virtualbox/vmware_fusion
- 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
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.
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).