Skip to Content
Operating OpenShift
book

Operating OpenShift

by Rick Rackow, Manuel Dewald
November 2022
Intermediate to advanced
264 pages
6h 14m
English
O'Reilly Media, Inc.
Content preview from Operating OpenShift

Chapter 3. Running Workloads on OpenShift

At this point you should already have an OpenShift cluster that you can use to deploy applications. It may be a cluster running on VMs provisioned by a cloud provider or even a small cluster on your notebook using OpenShift Local. You can access the console and log in to the cluster with the oc command-line utility. But how do you deploy an application that your team built to the cluster?

Most applications running on OpenShift clusters are web-based. Such applications are usually accessed by users via a web browser, or as backends by apps installed to user-owned devices. For the sake of this chapter you can use an arranged deployment consisting of three different services to practice deploying application code to your OpenShift cluster. A small OpenShift Local cluster should provide enough capacity to deploy this application. However, to follow some parts of the chapter you will need a cluster that is accessible externally.

The application used in this chapter is the arcade gaming platform of a fictitious game publisher. It consists of the following components:

  • Games, each running in its own service (for now there is only one game).

  • A highscore service where the scores of every game and player can be shown.

  • The platform service, used as entry point where customers can browse, start, and purchase games.

Figure 3-1 gives you an overview of the involved components and how they interact.

Figure 3-1. Components of the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Kubernetes: Up and Running, 2nd Edition

Kubernetes: Up and Running, 2nd Edition

Brendan Burns, Joe Beda, Kelsey Hightower
Kubernetes Operators

Kubernetes Operators

Jason Dobies, Joshua Wood
Red Hat OpenShift

Red Hat OpenShift

Sander van Vugt

Publisher Resources

ISBN: 9781098106386Errata Page