OpenShift and its use-cases

Anupam Kumar Thakur
4 min readMar 14, 2021

What is Openshift?

OpenShift is a family of containerization software products developed by RedHat written in Go and Angular.js . Red Hat OpenShift is an open-source container application platform that also incorporates a collection of software that gives us the ability to run an entire Kubernetes environment. It works around the Docker containerization and the foundation of OpenShift is Kubernetes. OpenShift provides us an online platform as Soos (Software as a Service). It is also a type of managed service. If someone wants to learn Openshift, she should have basic knowledge of Kubernnets. All the complex things are wrapped or hidden by OpenShift.

What are the advantages of OpenShit?

OKD detects the language in which the application is developed, so developer needs not to be worry about the customization of it.

OKD comes with it’s personnel image repository, containing images of al the OS.

Deploymenty configuration is done by the OKD automatically.

OKD creates the loadbalancer SVC automatically.

For the security purpose OKD doesn’t expose the pod to the publics automatically.

It provides us WebUI as well as CLI version to use it.

Why do we use Openshit?

While Kubernetes and Openshift both are popular container management tool there are few different benefits they have. Kubernetes provides automate application deployment, scaling, and operations, OpenShift works with Kubernetes to provide efficient and easy way to use the services. OpenShift helps the administrator with service brokers(direct access to some of the other services).It provides streamlined workflows means fast production with the help of Jenkins pipeline and using so many frameworks it has. Red Hat OpenShift supports standard Docker and CRI-O runtimes. In each of its upgrade it provides new fixes and feature that is helping it to evolve more and more.

How to use OpenShift?

Fedora is upstream of RedHat. upstream means any new updates first made on Fedora and if that updates or that software runs on Fedora very well, RedHat takes that software or update to its environment. So RedHat is downstream of Fedora. Similarly, OKD(Origin Community Distribution) is the onling upstream community of OpenShift. OKD provides an open source application container platform. For OKD, RedHat OpenShift is the downstream. OKD creates a single node cluster as “minikube” in Kubernetes, and it is called “minishift”. This minishift creates an environment on the virtual machine as a single cluster.

It is suggested to used it on some cloud service. Sometimes it changes the entire set up of the running Linux. So, I am discussing how to use it on AWS cloud EC2 instance. These steps give just the basic idea to setup the openShift.

1. Launch a AWS container with some specific feature. As we know openShift can be intsllalled on just RedHat, CetosOS and Fedora. So we can choose anyone, CentosOS will be a good Option.

2. Next thing we should do it to install OpenShift and also use wget command to get the file fro web.

3. We need to do little configuration using command used for OpenShift.

4. Set some user name and password that will help to login into OpenShift.

5. Finally, we get a WebUI to login into OpenShift.

Industrial use-cases of Openshift:

1. It makes the production faster

It enables the developers to focus on the developing and testing part more. In between everything like, launching the pod, deploying the container and testing the product is done by the OpenShift automatically. So, that developers need not to involve more in these automated work. because of this the production speed up. Also when a product get outdated, to take the new version of it don’t take much time, this is one of the advan

2. Developement process got accelerated

It is quite complex task to provisioning a container, deplyoing the app, scaling it and managing it. But OpenShift make it easy, efficient and rapid to provisioning container, deploying, scaling, and management. So, companies focus on the application development more than the managing part of it. One example of cybersecurity can be taken. As hackers always trie sto find the flaws to exploit the resources. The developers of cybersecurity can focus on bug fixes and updates and on the development of new application, instead of managing the container.

3. Enables the DevOps to collaborate with different module through web

Since, so many technologies worked together in DevOps, so it helps to manage all the efficiently with the Jenkins pipelines. For instance, as web commerce increases by leaps and bounds, companies and individuals progressively look to sell their products over the web. They can do this by adding web sales functionality to their own sites via widgets designed for this purpose, or by purchasing sites with built-in sales functionality. Employes work on different module so they all can work collaboratly through webhost using OpenShift.

4. Self-service provisioning

Self-service means OpenShift enables the developer to use any language and technologies to create the application and OpenShift will manage it. As we have seen OpenShift has preinstalled OS images of different images and also supports different languages. So, it dowsn’t matter which language the developer knows, he just need to focus on application development. Just create the application and it will definitely mange sby the OpenShift.

References:

  1. ARTH-The School of Technologies
  2. https://kubernetes.io/
  3. https://en.wikipedia.org/wiki/Kubernetes
  4. https://shadow-soft.com/openshift-benefits/

I hope you enjoyed this small article. THNAK YOU!!!

--

--

Anupam Kumar Thakur

AWS | DOCKER | ANSIBLE | KUBERNETES | JENKINS | MACHINE LEARNING | DEEP LEARNING | REDHAT