MYHOSPITALNOW.COM

Find Trusted Doctors & Hospitals

Discover healthcare providers, compare hospitals, and explore treatment options worldwide.

Free Treatment Quotes • Doctor Search • Hospital Comparison

Find Healthcare Options

www.myhospitalnow.com

Openshift: Lab 6 – Scale applications using the OpenShift web console

Lab 6 summary

This lab teaches how to scale an OpenShift application up and down from the web console, specifically from the Topology view. The learner first deploys the Parksmap application from a container image, then uses the application Details panel to increase or decrease the number of running pods.

What the learner needs to know

The PDF says learners should already understand:

TopicWhy it matters
OpenShift and Kubernetes relationshipOpenShift runs Kubernetes workloads
Kubernetes podsScaling means changing the number of pods
Developer Sandbox accessThe lab is done in OpenShift Developer Sandbox

What the learner will learn

SkillMeaning
Access application detailsOpen app details from the Topology view
Scale upIncrease the number of running pods
Scale downDecrease the number of running pods
Understand pod-based scalingMore pods means more identical app instances available to handle traffic

The PDF explains that scaling means increasing or decreasing the number of an application’s pods. A pod contains one or more containers that run the application logic.

Application used

ItemValue
App nameParksmap
Image sourceExternal container image repository
RegistryQuay.io
Image used in Lab 6quay.io/openshiftroadshow/parksmap
Resource typeDeployment
Tool usedOpenShift web console

Main lab flow

StepAction
1Open Developer Sandbox
2Log in with Red Hat account
3Go to OpenShift web console
4Click +Add
5Select Container images
6In Deploy Image, enter quay.io/openshiftroadshow/parksmap
7Scroll to Deploy
8Set Resource type to Deployment
9Click Create
10Open Topology view
11Click the center of the Parksmap circular graphic
12Open the Details tab
13Use the up arrow beside the pod graphic to scale up
14Use the down arrow beside the pod graphic to scale down

The PDF specifically says the pod count changes in the circular graphic as you click the up/down arrows.

What this lab teaches conceptually

ConceptExplanation
PodThe unit where the application container runs
ServiceSends traffic to the application pods
Scaling upAdding more identical pods
Scaling downReducing the number of pods
Topology viewVisual OpenShift console view for app resources
Details paneUI panel where pod count can be changed

CLI equivalent of Lab 6

The PDF uses the web console, but the matching oc CLI flow would be:

# Create a project for the lab
oc new-project parksmap-scale-demo

# Deploy Parksmap from the container image
oc new-app quay.io/openshiftroadshow/parksmap --name=parksmap

# Check created resources
oc get all

# Watch the first pod start
oc get pods --watch

# Scale up to 3 pods
oc scale deployment/parksmap --replicas=3

# Verify 3 pods are running
oc get pods -l app=parksmap

# Scale down to 1 pod
oc scale deployment/parksmap --replicas=1

# Verify only 1 pod remains
oc get pods -l app=parksmap

# Optional cleanup
oc delete all -l app=parksmap
Code language: PHP (php)

Expected output after scaling up:

deployment.apps/parksmap scaled

Then:

NAME                       READY   STATUS    RESTARTS   AGE
parksmap-xxxxxxxxx-aaaaa   1/1     Running   0          2m
parksmap-xxxxxxxxx-bbbbb   1/1     Running   0          20s
parksmap-xxxxxxxxx-ccccc   1/1     Running   0          20s

Difference from earlier labs

LabTopicTool
Lab 3Deploy app from container imageWeb console
Lab 4Deploy app from container imageoc CLI
Lab 6Deploy app from container image, then scale podsWeb console

So Lab 6 is basically: Lab 3 + scaling practice using the Topology Details panel.

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services — all in one place.

Explore Hospitals
I'm Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms. I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.

Related Posts

Kubernetes Assignment and Project

This page is a five-day Kubernetes assignment. It starts with architecture and Pods, then moves through ReplicaSets, DaemonSets, Deployments, Services, CoreDNS service discovery and StatefulSets, and ends…

Read More

Helm Tutorials: How to create Basic Custom Charts

This tutorial shows how to build a minimal custom Helm chart: scaffold it with helm create, remove the default templates, add your own Pod template, set chart…

Read More

Openshif: Create a busybox pod

This page shows how to start a temporary BusyBox pod in OpenShift with oc run. The pod passes the restricted security policies, so you can test DNS,…

Read More

OpenShift Lab 10: View Pod, Workload, and Namespace Performance Metrics Using the OpenShift Web Console

This lab uses the OpenShift web console to view CPU, memory, network and pod metrics for one namespace and its workloads. It then checks the same numbers…

Read More

Kubernetes ReplicaSet Explained: API Resource, YAML Example, and Use Cases

Rajesh Kumar I’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have…

Read More

What Is GitHub Actions Runner Controller?

GitHub Actions is a CI/CD platform that automates tasks such as building applications, running tests, creating Docker images, and deploying software. Every GitHub Actions job requires a…

Read More
Subscribe
Notify of
guest
2 Comments
Newest
Oldest Most Voted
Puja kushwaha
Puja kushwaha
1 month ago

Scaling applications through the OpenShift web console makes replica management easier to understand visually. Teams should check that new pods reach the ready state before assuming the scale-up worked. It is also important to review CPU and memory limits, since extra replicas need enough cluster resources. Testing scale-down is equally useful because it shows how the service behaves when capacity drops. Watching response times and pod health during both changes helps teams make safer scaling decisions.

Skylar Bennett
Skylar Bennett
5 months ago

The tutorial provides a clear overview of scaling applications through the OpenShift web console, but it would be beneficial to emphasize that effective scaling requires understanding application characteristics and workload patterns. Increasing replicas alone may not resolve performance bottlenecks if limitations exist in databases, external services, or application startup times. Discussing Horizontal Pod Autoscalers, resource optimization, and monitoring techniques would give readers a more complete picture of managing scalable and cost-efficient deployments in production environments.

2
0
Would love your thoughts, please comment.x
()
x