- A Cloud Guru
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.*
Table of Contents
Log In to the Cluster and Create a New Project
Log in to the OpenShift cluster using
oc loginand/or the web UI.
Create a new project called
multi-testwith a display name of
Multi-Container Test(skip if using Red Hat OpenShift sandbox).
Download the OpenShift Template and Publish It
Download the template file from this Git repo (here) and save it as a file named
Publish this template to your local project.
Process the Template and Create the Application
- Process the template with the following custom parameters and then create the application using the processed template.
Verify the Application Is Working
- Open the application in a web browser and add a test entry into the inventory page.
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.