Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Google Cloud Platform icon
Labs

Setting Up Multi-Container Applications in OpenShift

For this lab, we will be creating an application that has multiple containers. You will learn to work with templates to create a multi-container application. 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)***. Solutions for using CodeReady Containers and the Red Hat OpenShift sandbox are available in this lab. *This lab is not approved or sponsored by Red Hat.*

Google Cloud Platform icon
Labs

Path Info

Level
Clock icon Intermediate
Duration
Clock icon 30m
Published
Clock icon Feb 11, 2022

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Log In to the Cluster and Create a New Project

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

    2. Create a new project called multi-test with a display name of Multi-Container Test (skip if using Red Hat OpenShift sandbox).

  2. Challenge

    Download the OpenShift Template and Publish It

    1. Download the template file from this Git repo (here) and save it as a file named multi_test.yaml.

    2. Publish this template to your local project.

  3. Challenge

    Process the Template and Create the Application

    1. Process the template with the following custom parameters and then create the application using the processed template.

    NAME=fruit-stand

    DATABASE_NAME=fruit_stand

    DATABASE_USER=guru

    DATABASE_PASSWORD=badpass

    DATABASE_ADMIN_PASSWORD=badidea

  4. Challenge

    Verify the Application Is Working

    1. Open the application in a web browser and add a test entry into the inventory page.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

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.

Start learning by doing today

View Plans