Next Steps
In this section you will discover where you can find materials to learn more about Red Hat OpenShift, and use free of charge environment on your local machine with Minishift labs.
The 4 workshops
Minishift workshop (good for learning version OpenShift v3.x) and trying it out on your own machine:
https://github.com/IBM/minishift101 - basic workshop - shown below https://github.com/IBM/node-red-workshop-starter - adding Node-Red https://github.com/IBM/machine-learning-with-minishift - adding machine learning
If you have an access to the provisioned OpenShift cluster in a Cloud:
Red Hat OpenShift 4.x: https://github.com/Harald-U/openshift43-on-ibm-cloud-workshop - the full lab from today
Red Hat OpenShift 3.x: https://github.com/IBM/openshift-on-ibm-cloud-workshops
Minishift setup and Minishift 101 lab
The following section describes how to install Minishift and the required dependencies.
These are the basic steps for setting up Minishift on your personal system:
The setup procedure should be run as a regular user with permission to launch virtual machines. In the procedure, you will see how to assign that permission, along with ways to configure your hypervisor and command shell to start and effectively interact with Minishift.
Configure the virtualization environment
Minishift can be installed on Windows, Linux and Mac but depending on your platform, you will need to configure a compatible hypervisor in order for the OpenShift cluster to be created within the virtualised environment. Verify that the hypervisor of your choice is installed and enabled on your system before you set up Minishift. Once the hypervisor is up and running, additional setup is required for Minishift to work with that hypervisor.
See the appropriate section for your hypervisor and operating system:
For Linux, set up the KVM driver
For macOS,
set up the xhyve driverorset up the hyperkit driverFor Windows, set up the Hyper-V driver
For VirtualBox (all platforms), set up Minishift to use VirtualBox
NOTE: If you have installed docker-ce for Mac on your machine, the hyperkit driver is already installed
Download and install Minishift
To download Minishift, you can either install from source or if on Mac, you can install using Homebrew.
Start the OpenShift Server
Providing you have completed the previous steps successfully, you will now be ready to start the OpenShift server. To do so, you should be able to run:
Make sure to replace <driver>
with the driver that you have used e.g. 'hyperkit' or 'virtualbox'. Once successfully started, you should be given the credentials to login to the cluster and the UI address as shown below:
NOTE: Both your console address and your pid will be different.
Further cluster configurations
After setting up your cluster, you may have specific requirements that you want to enforce in your cluster. The minishift tool allows you to manage the lifecycle of the single-node OpenShift cluster as well as set environment variables, persistent storage and proxy options if your machine is behind a proxy. For more information on these configurations, see the following link.
Once you are all set up, you can move on to Lab 1
Last updated
Was this helpful?