- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud

Creating Resource Quotas in OpenShift 4
Welcome to the lab. You are the OpenShift admin working at the ZLand BioTech firm where you are in charge of supporting the developers creating an early screening software that is going to revolutionize the industry for tracking symptoms of the dreaded the infamous Virus Z-19. This software is vital to the early warning system and 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. Tallahassee is using too much of the cluster's resources. Create a computer resource quota to limit the resource abuse. Let's begin! >**Note:** This lab is meant to be run on your local environment. This will not work in our current Cloud Playground or Lab environment.

Lab Info
Table of Contents
-
Challenge
Install CodeReady Containers
Note: If you have taken any of the other labs in the course associated with this lab and have already installed CodeReady Containers, please move on to the next 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
Lab Setup
Note: If you have taken any of the other labs in the course associated with this lab and have already installed CodeReady Containers, please move on to the next objective. If not, then proceed with this objective.
- Download the lab_setup_3.sh script.
- Make the script executable.
- Run the
lab_setup_3.sh
script.
***Note: This may take a few minutes ***
-
Challenge
Create the Quota
**Note:**If you have taken the previous labs, change to the
twinkies
project.- Download the
compute-resource.yaml
file from this Git repo. - Modify the
compute-resources.yaml
file with the following values:- pods: "4"
- requests.cpu: "1"
- requests.memory: 1Gi
- requests.ephemeral-storage: 2Gi
- limits.cpu: "2"
- limits.memory: 2Gi
- limits.ephemeral-storage: 4Gi
- Create your quota.
- Verify your work.
- Download the
About the author
Real skill practice before real-world application
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.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.