Getting Acquainted with OpenShift

30 minutes
  • 4 Learning Objectives

About this Hands-on Lab

For this lab, we will be getting familiar with logging in to OpenShift. We’ll also learn some of the basic commands to get help and information about the current project. Upon completion, you will have a working understanding of how to log in to Red Hat OpenShift, get help for the `oc` command, and find information about project resources.

*This lab is not approved or sponsored by Red Hat.*

Due to limitations in the A Cloud Guru Cloud Playground environment, we are unable to provide a hands-on experience for this lab.

1. To complete this lab, you must first register for a Red Hat Developer login on the ***[Red Hat login page](https://developers.redhat.com/login)***.
2. Once registered, you may complete the lab steps using ***[Red Hat’s CodeReady Containers](https://cloud.redhat.com/openshift/install/crc/installer-provisioned)*** or the ***[Red Hat-provided OpenShift sandbox](https://developers.redhat.com/products/codeready-containers/overview)***.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Log In to the Cluster

Log in to the OpenShift cluster using oc login and/or the web UI.

Get Help for the oc Command

Get help for both the oc command and oc delete subcommand.

View the Test Project Resources

View the status of the project and get information about the various resources, like pods and routes.

Delete the Route from the Test Project

Delete the existing route resource from the test project.

Additional Resources

Logging In to the Lab Environment

Due to limitations in the A Cloud Guru Cloud Playground environment, we are unable to provide a hands-on experience for this lab.

  1. To complete this lab, you must first register for a Red Hat Developer login on the Red Hat login page.
  2. Once registered, you may complete the lab steps using Red Hat's CodeReady Containers or the Red Hat-provided OpenShift sandbox.

Solutions for CodeReady Containers and the Red Hat OpenShift sandbox are available in this lab.

Scenario

In this lab scenario, you have been approached by a client who would like you to test the basic functionality of their new development Red Hat OpenShift Container Platform. The client would like you to complete the following tasks:

  • Check the ability to log in to the cluster using the command line and/or the web UI.
  • Get help for oc and, in particular, the delete command.
  • View and get information about the resources running and delete the route on their test application.
  1. Here is the link to the script for resource creation in CodeReady Containers.
  2. Here is the link to the script for resource creation in Red Hat sandbox.

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?