Red Hat OpenShift on IBM Cloud is an extension of the IBM Cloud Kubernetes Service, where IBM manages OpenShift Container Platform for you.
With Red Hat OpenShift on IBM Cloud developers have a fast and secure way to containerize and deploy enterprise workloads in Kubernetes clusters. OpenShift clusters build on Kubernetes container orchestration that offers consistency and flexibility for your development lifecycle operations.
This repository holds a series of workshops that help you as a developer to become familiar with Red Hat OpenShift, how it can be deployed on the IBM Cloud, and how to deploy applications on and with OpenShift.
In order to run these workshops, you need an IBM Cloud account.
Workshop 1: Understanding OpenShift
In this workshop we will show you how to create your own OpenShift cluster on the IBM Cloud, how to use the oc
CLI (command line interface) and how to use the OpenShift Web Console to deploy applications.
- Duration: 60 - 90 minutes
- Audience: Beginner
Labs
- Overview video (3:42 mins)
- Introduction: video (2:04 mins) and video (5:45 mins)
- Create an OpenShift cluster on the IBM Cloud: lab and video (3:17 mins)
- Getting started with OpenShift for developers: lab and video (12:38 mins)
- Deploying applications from images: lab and video (9:00 mins)
- Deploying applications from source: lab and video (10:28 mins)
- Deploy an application on OpenShift on the IBM Cloud: lab and video (14:20 mins)
This workshop demonstrates how to build a microservice with Java and how to deploy it to OpenShift on the IBM Cloud.
The microservice is kept as simple as possible, so that it can be used as a starting point for other microservices. The microservice has been developed with Java EE and Eclipse MicroProfile.
- Duration: 60 - 90 minutes
- Audience: Intermediate
Labs
- Overview video (1:41 mins)
- Installing prerequisites: lab and video (2:58 mins)
- Running the Java microservice locally: lab and video (3:51 mins)
- Understanding the Java implementation: lab and video (9:09 mins)
- Deploying to OpenShift via 'oc' CLI: lab and video (14:32 mins)
- Deploying existing images to OpenShift: lab and video (7:09 mins)
- Deployments of code in GitHub repos: lab and video (3:52 mins)
- Source to Image deployments: lab and video (7:06 mins)
-
There are many good tutorials on the Red Hat OpenShift Interactive Learning Portal.
-
The IBM Developer Website has its own section on Red Hat OpenShift on IBM Cloud.
-
Our Cloud Native Starter project on GitHub has a section on how to deploy on OpenShift.
-
Check this IBM Cloud solution tutorial: Scalable web application on OpenShift.