Developer Sandbox for Red Hat OpenShift is a free Kubernetes cloud environment in a shared, multi-tenant OpenShift cluster that is pre-configured with a set of developer tools. The Developer Sandbox is active for 30 days and renewable once it expires.
To create your account, register to Developer Sandbox for Red Hat OpenShift. From there, click on the red button that says Start your sandbox for free as shown in the following image.
Use your existing Red Hat account or create a new one, then follow the instructions on the screen. You should then be redirected to the Developer Sandbox page again, but this time, you should see a button labelled Start using your sandbox.
If the following screen is shown select the Red Hat OpenShift option:
Clicking on it opens up the OpenShift login screen where you can log in using the DevSandbox button, as seen below.
Clicking this button opens up your new OpenShift cluster console.
Your private OpenShift environment on Developer Sandbox includes quotas and limits of:
-
7 GB RAM
-
15GB storage
which is enough to run this workshop.
There are one fixed project (namespace):
-
<your_username>-dev
Please work in the <your_username>-dev
project.
Also, you need to download oc
CLI which is a kubectl
wrapper for OpenShift.
Click on the question mark ?
button, select Command Line Tools
:
And finally download the oc
CLI for your platform:
With oc
downloaded and installed, it’s time to login to the cluster, click on your username select Copy Login command
, and paste it to a terminal window:
After that, you can start using the cluster either with oc
or kubectl
CLI.