Back to Catalog

Getting Started with OpenShift

BeginnerGuided Project

In this guided project, you will discover the power of OpenShift by using the web console to build a container image, push the image to a registry, and create a deployment that references that image. Then you will expose the application to the Internet with a hostname. You will also learn about some basic oc commands.

4.5 (175 Reviews)

Language

  • English

Topic

  • Containers

Enrollment Count

  • 671

Skills You Will Learn

  • Kubernetes

Offered By

  • IBM

Estimated Effort

  • 30 minutes

Platform

  • SkillsNetwork

Last Update

  • April 30, 2024
About This Guided Project
OpenShift is a hybrid cloud Kubernetes application platform. OpenShift orchestrates containers and provides additional tooling around the complete lifecycle of applications, from build and continuous integration/continuous delivery (CI/CD) to monitoring and logging.

In this guided project you will perform operations on an OpenShift project by using both the oc command line interface (CLI), which is the OpenShift CLI, and the web console. An OpenShift project is a Kubernetes namespace with additional administrative functions. The oc CLI includes a copy of kubectl, which is the Kubernetes CLI. You can run kubectl commands with oc along with additional OpenShift-specific objects and functionality. Here you will execute basic commands to list pods in a namespace, get specific objects, and view the OpenShift project.

Then you will open and explore the OpenShift web console, which is a useful and powerful feature. You will see how OpenShift provide project details in an intuitive manner. You will look at operators, different Kubernetes objects, and OpenShift-specific objects.

OpenShift supports different personas. You will view both the Administrator perspective and the Developer perspective, which you will use to deploy an application. You will see how you can get a vivid visual representation of applications in the Topology view. You will create a source-to-image application and use the quick links in the Topology view to get visuals of the pod, the service, and other important parts of your application. Then you will view the logs to see a history of key completed steps.

This guided project will give you a great start in using OpenShift as an extension of Kubernetes.

A Look at the Project Ahead
Once you have completed this project, you'll be able to:
  • Use the oc CLI
  • Use the OpenShift web console
  • Build and deploy an application using s2i
  • Inspect a BuildConfig and an ImageStream

What You’ll Need
Just a web browser and an IBM Cloud account!

Everything else is provided to you via the IBM Skills Network Labs environment. This platform works best with current versions of Chrome, Edge, Firefox, Internet Explorer, or Safari.

Knowledge of command line interface (CLI) usage will be helpful.

Your Instructors
Upkar Lidder
Alex Parker

Instructors

Yasmine Hemmati

Skills Network data scientist Intern

Math, Statistics and Computer Science Student at the University of Toronto

Read more

Leon Katsnelson

Director & CTO, IBM Developer Skills Network

I've had a very productive career in tech. I've touched many areas from mainframe, to manufacturing automation (IoT), to databases, big data, data science and AI, blockchain, and of course full stack and cloud-native development and DevOps. I started my career in test and QA, did quite a bit of development, product management, team leadership, and people management before becoming an executive. I had some great wins including bringing to market a billion $ product. And had some failures along the way. But throughout my career, one thing has always remained constant. I learned everything I could and used every chance I had to get a new skill. My goal in life is to help those who have an appetite for learning to acquire knowledge and skill to build their career or simply become better users of the latest tech.

Read more

Rav Ahuja

Global Program Director, IBM Skills Network

Rav Ahuja is a Global Program Director at IBM. He leads growth strategy, curriculum creation, and partner programs for the IBM Skills Network. Rav co-founded Cognitive Class, an IBM led initiative to democratize skills for in demand technologies. He is based out of the IBM Canada Lab in Toronto and specializes in instructional solutions for AI, Data, Software Engineering and Cloud. Rav presents at events worldwide and has authored numerous papers, articles, books and courses on subjects in managing and analyzing data. Rav holds B. Eng. from McGill University and MBA from University of Western Ontario.

Read more