After some finding and waiting, we can have a way of locally test OpenShift 4 in our local machines. Thanks to an update to the post in the great article about the differences between OpenShift and Kubernetes we discovered that there is a replacement for Minishift and the “oc cluster up” command, not working for OpenShift 4. The only ways to test OpenShift 4 was with an installation in the cloud or the OpenShift online testing version (only free for a month).

The crc project gives us a new tool for launching an OpenShift 4x cluster in your local machine. We have tested it on a Windows Machine. The first try was with VirtualBox, with no success, but it worked with hyper-v, the default virtual machine driver.

Once we have downloaded the crc executable file, we only need to execute the two commands:

crc setup 
crc start -n 8.8.8.8

The command will require access to a download token, with a free RedHat developer subscription you can have it.

Once started, the cluster will be accessible on https://console-openshift-console.apps-crc.testing

In the clean installation we can observe a big number of projects created by default (46 projects).

Not everything is running, for example the monitoring is not enabled by default, we have to start all deployments in the project “OpenShift monitoring” (img/posts/openshift-4-local/openshift-monitoring.png)


Originally published at https://kubekub.com.

kubekub

Kubekub site

Juan Carlos García Peláez

Written by

Freelance Kubernetes | OpenShift | Cloud | DevOps Architect

kubekub

kubekub

Kubekub site

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade