04 December 2017

Install Openshift Origin On Virtualbox Using Vagrant

Installation Openshift Origin

This project show you how to set up Openshift Onrigin on VirtualBox using Vagrant.

Openshift is application lifecycle management functionality and DevOps tooling. Openshift Origin provides a complete open source container application platform.

Vagrant is a tool for building and distributing development environments. Development environments made easy.

VirtualBox is a tool virtualization, basically general-purpose full virtualizer for x86 hardware.

Requirements

In this project i setup environments with 4GB of RAM, 40GB of HDD.

Download config

git clone https://github.com/if08017/vagrant-openshift.git
cd vagrant-openshift

Installation

vagrant up
vagrant provision

Start and stop Openshift Origin —

make start
make stop

Access Openshift Origin

Use user: system and password: admin to login as administrator

https://192.168.56.10:8443
or
https://kawanlabs.com:8443

By command

vagrant ssh
oc login -u system:admin
oc whoami

[Optional] manual run Openshift Origin

vagrant ssh
oc cluster up --public-hostname="192.168.56.10" --routing-suffix="kawanlabs.com" --host-data-dir=/var/oc/