Lab 1 - Welcome

Return to Workshop

Welcome to OpenShift!

This lab provides a quick tour of the console to help you get familiar with the user interface along with some key terminology we will use in subsequent lab content. If you are already familiar with the basics of OpenShift simply ensure you can login and create the project.

Key Terms

We will be using the following terms throughout the workshop labs so here are some basic definitions you should be familiar with. You'll learn more terms along the way, but these are the basics to get you started.

Accessing OpenShift

OpenShift provides a web console that allows you to perform various tasks via a web browser.

Let's Login to the Web Console

Use your browser to navigate to the URI provided by your instructor and login with the user/password provided.

https://console-openshift-console.apps.example.redhatgov.io


Login Webpage

Once logged in you should see your available projects - or a button to create a project if none exist already:


Administrator Default View, with No Projects

So this is what an empty project looks like

First let's create a new project to do our workshop work in. We will use the student number you were given to ensure you don't clash with classmates:

Click on the "Create Project" button and give it a name of demo-YOUR#

Populate "Name" with "demo-YOUR# " and populate "Description" boxes with whatever you like. And click "Create"



This is going to take you to the next logical step of adding something to the project, but we don't want to do that just yet.

Click "Administrator", and change it to "Developer"


Let's launch a terminal.

At the top of the screen, click the [>_] button.



Note: If the button does not exist, it may be necessary for the cluster administrator to load the "Red Hat Terminal Operator".

Ensure that the Project matches demo-YOUR# , click [Start]



The terminal will launch as a container in the project. Once the container comes only, a command line will be presented.
Note: The terminal will time-out if inactice. If it does, just close the terminal window and restart.


Check to see what projects you have access to:

$ oc get projects
oc get projects
NAME          DISPLAY NAME   STATUS
terminal-YOUR#                  Active

Type the following command to show services, deployment configs, build configurations, and active deployments (this will come in handy later):

$ oc status

Summary

You should now be ready to get hands-on with our workshop labs.


Workshop Details

Domain Red Hat Logo
Workshop
Student ID

Return to Workshop