- Lab
- A Cloud Guru
Configure an Imagestream in OpenShift 4
Hey, Gurus! Welcome to the lab. Here is the scenario. You are an admin working at the ZLand BioTech firm where you are in charge of creating early screening software that is going to revolutionize the industry for tracking symptoms of the dreaded Virus Z-19. This software is vital to the early warning system and the tracking of the virus. Your job is to assist the developers in managing and creating the applications that make up the screening and tracking software. Your first task is to help the lead developer mitigate an issue the software is having with the version of the Ruby imagestream they are using. The latest version is pointed at Ruby 2.6, and the developer's code was written for 2.5. You must change the `latest` tag to point to the Ruby 2.5 imagestream, and then tag the Ruby 2.6 imagestream with the `test` tag. This way, they can re-deploy and properly test. They would then like to switch it back later after testing and remove the `test` tag. Let's begin! ***NOTE: This lab is meant to be run in your local environment. This will not work in our current Cloud Playground or Lab environment.***
Path Info
Table of Contents
-
Challenge
Install CodeReady Containers
Note: If you have taken any of the other labs in the associated course and already installed CodeReady Containers, please move on to the Tag Images objective. If not, then proceed with this objective.
If you don't already have a Red Hat login, register at https://www.redhat.com.
- Make the
OpenShift_CRC
working directory. - Download the version of the OpenShift on CodeReady Containers binary for the operating system version you are running.
- Install OpenShift on CodeReady Containers.
- Make the
-
Challenge
Tag Images
- First, tag the Ruby 2.5 imagestream, found in the OpenShift project, with the
latest
tag. - Next, tag the Ruby 2.6 imagestream, found in the OpenShift project, with the
test
tag. - Verify your work.
- First, tag the Ruby 2.5 imagestream, found in the OpenShift project, with the
-
Challenge
Clean Up
- Switch the imagestream for
ruby:2.6
to thelatest
tag. - Delete the
test
tag.
- Switch the imagestream for
What's a lab?
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.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.