Industry Use Cases - Kubernetes/Openshift

Gursimar Singh
6 min readMar 2, 2021

Container adoption is growing rapidly in the enterprise-much faster than expected. — Forbes

The speakers during the session:

  • Amel Mathai (Manager, Technical Delivery Training & Certifications at Red Hat based in Raleigh, North Carolina)
  • Daleep Singh Bias (Senior Technical instructor Red Hat, Red Hat Certified Instructor, Solution Architect & Consultant with 12+ years broad technical and training experience in Linux and open source technologies)
  • Abit Mattoo (Partner Sales Manager at Red Hat(GLS))

The journey to the OpenShift starts with the traditional devices or also known as bare metal devices in which OS had to be installed on every device which was very expensive.

Thus there was a shift towards Virtualization. Virtualization is a technique helped in isolation of the systems because it simply mapped the virtual devices to the physical devices.

The main problem with virtualization was that application required complicated installation every time we needed to use or test it. Also during Virtualization their was a demand for high power machines. Thus for testing of apps and working with different environment we moved on to containerization.

The main advantage of containerization was that it happened over operating system which abstracted the application layer from the OS thus resulting in a boot time of seconds.

What is Containerization?

Containerization is defined in both aspects of Infrastructure and Application is defined completely different. It completely depends whom we ask.

Docker Container as a Service Platform

Build >> Ship >> Run

Difference between Containers and Virtual Machines:

How Containerization is different from Virtual Machines?

Disadvantages of Containerization:

The problems with containerization rose because of many reasons like:

  • An individual container is a single host environment,
  • Scheduling of the containers
  • No provision for life-cycle and health checks for the containers

Kubernetes:

Kubernetes is an open-source container-orchestration system for automating computer application deployment, scaling, and management.

OpenShift:

OpenShift is a cloud development Platform as a Service (PaaS) hosted by Red Hat. It’s an open source cloud-based user-friendly platform used to create, test, and run applications, and finally deploy them on cloud.

One of the key features of OpenShift is it is extensible, which helps the users support the application written in other languages.

Features of OpenShift:

Openshift is quite famous is the market and is used even by banks where there can’t be any room for failure.

Podman:

Podman is a daemon less, open-source, Linux-native tool designed to develop, manage, and run Open Container Initiative (OCI) containers and pods. It has a similar directory structure to Buildah, Skopeo, and CRI-O. It doesn’t require an active container engine for its commands to work.

Docker uses same caches for every user of a linux server while podman maintain different caches for different users.

S2I- Source to Image:

If you’re going to be deploying containers to production, you’ve got to be building them in an automated, repeatable, predictable way. You don’t want to be typing lots of manual Docker build commands. With an S2I build in OpenShift, you can get OpenShift to compile your code from source, build a container image and push it to the registry, all without having to write a Dockerfile.

OpenShift can clone your source code from Git (or use an existing binary, like a Java JAR), inject that into a builder image, and use that to produce a final image for your app, which you can then run on OpenShift.

The developer does upload own code in the git a workflow of git sends the code to Openshift Image repository where they build an image from the source code and we can deploy our app using those images

What is Service Mesh?

A service mesh, like the open-source project Istio, is a way to control how different parts of an application share data with one another.

WebApp deploy demo by Openshift

Create project -> source-to-image appliation -> select images -> github repo -> context-dir -> resources — deployment config -> create.

A Breif Demo on OpenShift

RedHat provides two courses for the Openshift platform:

Red Hat OpenShift I: Containers & Kubernetes (DO180)

Red Hat OpenShift I: Containers & Kubernetes (DO180) helps you build core knowledge in managing containers through hands-on experience with containers, Kubernetes, and the Red Hat® OpenShift® Container Platform. These skills are needed for multiple roles, including developers, administrators, and site reliability engineers.

Red Hat OpenShift Administration II: Operating a Production Kubernetes Cluster (DO280)

Red Hat OpenShift Administration II: Operating a Production Kubernetes Cluster (DO280) teaches you how to configure, troubleshoot, and manage Red Hat® OpenShift® Container Platform. This hands-on, lab-based course shows you how to verify the successful installation of a cluster, manage it on a day-to-day basis, and troubleshoot the deployment of containerized applications.

The first one (DO180) is the basic introductory course which doesn’t require any pre requisite knowledge about Openshift. However, the second one (DO280) which consists of the main advanced concepts of Openshift requires to complete Red Hat OpenShift I: Containers & Kubernetes (DO180), or demonstrate equivalent experience with containers, Kubernetes, and OpenShift basics.

There’s another course offered by RedHat known as DO285 which is a combination of DO180 and DO280.

Containers, Kubernetes, and Red Hat OpenShift Administration II (DO285)

Containers, Kubernetes, and Red Hat OpenShift Administration II (DO285) helps you gain core knowledge in building and in configuring and managing Red Hat® OpenShift® Container Platform. This immersive and intensive, hands-on course shows you how to deploy applications to a local container engines and OpenShift clusters, manage the cluster on a day-to-day basis, and troubleshoot the deployment of containerized applications.

This course is based on Red Hat OpenShift Container Platform 4.5 and combines the content from Red Hat OpenShift I: Containers & Kubernetes (DO180) and Red Hat OpenShift Administration II: Operating a Production Kubernetes Cluster (DO280).

--

--

Gursimar Singh
Gursimar Singh

Written by Gursimar Singh

Google Developers Educator | Speaker | Consultant | Author @ freeCodeCamp | DevOps | Cloud Computing | Data Science and more

No responses yet