Creating and Deleting Groups in OpenShift 4

45 minutes
  • 5 Learning Objectives

About this Hands-on Lab

Hey there! Welcome to the *Creating and Deleting Groups in OpenShift 4* lab. Here’s the scenario! Development has gone relatively well so far. We have now moved to UI design and feature testing. The company needs you to create a UI project where the developers can create the UI and the Quality Assurance team can test the new features.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Installation of 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 Lab Setup objective. If not, then proceed with this objective.

If you do not 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 version of Operating System you are running.
  • Install OpenShift on CodeReady Containers.
Lab Setup

Note: If you have done the labs in the course before this one, you can skip this step.

Download and run the lab setup script:

Create the Project, Groups, and Add Users
  • Create the doubletapui project.

  • Create the following groups:
    dev
    admin
    project_manager
    testers

  • Assign users to the groups associated with their job duties.

Grant Cluster Roles Based on the User’s Job Duties

Now assign the groups roles based on the access levels needed to do their job.

The roles are as follows:

  • admin
  • edit
  • view
  • basic-user
Remove a User from the Project Manager Group and Delete the Testers Group
  • We no longer need more than one Project Manager. Remove albuquerque from the project_manager group.
  • The UI testing is wrapping up. The testers group is no longer needed. Delete the testers group.

Additional Resources

Why do I have no credentials to login with?

Due to the potentially high resource consumption this lab can create, This lab is to be followed along with on your local machine. This is why there is no resource to log into.

We currently cannot run this in our lab environment, but you can run this locally on your own machine.


This lab is a bit different. Please download and set up OpenShift on CodeReady Containers to complete the lab. We currently cannot run this in our lab environment, but we are working on it and hope to have it in our lab environment soon.

Register a login at https://www.redhat.com if you do not have an account.

Navigate to the Cluster Manager site to download CodeReady Containers at the following URL: https://cloud.redhat.com/openshift/install/crc/installer-provisioned?intcmp=7013a000002CtetAAC

Download the lab3setup.sh script from the following URL: https://raw.githubusercontent.com/linuxacademy/content-openshift-2020/master/lab3setup.sh

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.

Get Started
Who’s going to be learning?

How many seats do you need?

  • $499 USD per seat per year
  • Billed Annually
  • Renews in 12 months

Ready to accelerate learning?

For over 25 licenses, a member of our sales team will walk you through a custom tailored solution for your business.


$2,495.00

Checkout
Sign In
Welcome Back!

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