Navigate and explore the features of the Red Hat OpenShift web console.
Outcomes
Explore a sample application by using the Developer perspective in the web console.
View the deployment, pods, build configuration, and build logs for the application.
Run commands in a container shell.
Switch to the Administrator perspective and examine the resources that are created for the sample application.
As the student user on the workstation machine, use the lab command to prepare your system for this exercise.
This command validates that the cluster is available and deploys an example application in a new project.
[student@workstation ~]$ lab start deploy-introduction
Instructions
Open the web console and explore the Developer perspective.
Open a web browser and navigate to https://console-openshift-console.apps.ocp4.example.com.
Click and log in as the developer user with the developer password.
Click to dismiss the option to view a short tour on the first visit.
Ensure that the deploy-introduction project is selected by using the project selection menu at the top of the page.
Click to view the project.

Depending on the display resolution, you might need to first click the navigation toggle button at the top left. The button displays as three horizontal bars.
Click the icon on the Topology panel to view details of the node-server deployment.
![]() |
Select the list to view the available controls for the node-server deployment.
![]() |
Click the node-server deployment to view the details page for the deployment.
![]() |
Increase the number of replicas to three by using the pod indicator component on the Deployment details page.
![]() |
View the pod details for the node-server application.
Click the tab to view the pods created for the deployment. Observe that three replicas are listed. Click the name of one of the pods to view the details for that pod.
Click the tab to view the logs for the running pod. Your pod's name will differ from the one shown here.

Click the tab to open a terminal session in the running pod container.
Execute pwd and ls commands to show the filesystem within the container.
sh-4.2$pwd/opt/app-root/src sh-4.2$lsserver.js
View the build details for the node-server application.
In the navigation panel, navigate to to view the list of build configurations in the project.
Click the name of the node-server build configuration to view its details.
Observe that the build configuration uses an included Dockerfile by using the nodejs-16 image from the classroom registry.
Each instance of the build results in a new image called node-server.
This is indicated by the Output to field near the bottom of the page.
Click the tab to view the list of builds for this build configuration.
Click the name of one of the builds to view details for that instance.
Click the tab to view the output of the build.

Switch into the Administrator perspective and inspect the deployment.
In the navigation panel, click and then click to change to the Administrator perspective.
The web console changes to the new perspective and exposes additional information through the sidebar.

Navigate to → to view the deploy-introduction project in the project list.
Click the project to open the Project Details page. This page includes a general overview of the project, such as the project status and resource utilization details.

View the node-server resources.
In the navigation panel, navigate to → to view the node-server pods.
Notice that the image build was done in a pod now marked as completed.

Navigate to → to view the list of deployments in the project. Click to view the deployment details.
Navigate to → and click to view the details of the node-server service.
Observe that 4000 is the TCP port for the service resource.
Navigate to → and click to view the details of the node-server route.
Observe that the route points to the service's port 4000 as listed by the Target port field.
The route exposes the application on TCP port 80, which is the default HTTP port.
Navigate to the application by clicking the link in the Location field.
A new tab opens containing the Hello World response from the Node.js server.