Hello and welcome to this demo.
In this demo we will see how to set up a simple Openshift environment for development and testing purposes
using Minishift. To get started,
We go to the Minishift Website at openshift.org/minishift.
Here we find basic information on getting started with Minishift.
As you can see Minishift can be run on Window,s Mac OS and Linux platforms.
So Minishift requires a hypervisor and the one that works on all platforms happens to be VirtualBox
which is what we will be using for this demo.
If you have not set up VirtualBox yet click on the link to go to the VirtualBox download page and
download the respective version for your operating system.
Follow through the wizard to complete installation, once installed.
The next step is to download the Minishift utility as seen in the Web site download the minishift
utility from the releases page by clicking on this link.
Download the appropriate version for your platform and extract it to a folder.
In my case since I am on a Windows platform I must move the folder to my C drive because that is where
my virtual box is installed and configured.
Once there open a command prompt and navigate to the folder containing Minishift executable and then
it is as simple as executing the Minishift.exe
start command to bring up the cluster.
Since I am on Windows platform Minishift defaults to using Hyper-V for deploying the minishift virtual
machine.
So I must point minishift to use Virtual Box instead by providing the VM driver virtual box option.
When this command is run minishift goes out to the Internet pulls down the ISO image and creates a
virtual machine on Virtual Box which can be seen on the left.
A new VM by the name minishift is automatically created.
It then proceeds with configuring the Openshift cluster for first time use.
Once completed we are given the URL to access the Openshift web console as well as instructions to access
the command line using the oc tool.
Once you are on the web console, log in using any username or password the password is not really validated
so you can use any user password combination.
Remember this mode of authentication is only set for Minishift to allow developers to easily log in
to the portal.
This is of course not for a production deployment.
In my case I used developer for user name and password.
We now have a working Openshift cluster to play around with.
We will explore more of the web console and CLI in later sections of this course.
That's it for this demo and I will see you in the next lecture.