Industry Use Case of Kubernetes and Openshift

Benefits : —

Scalability — Kubernetes helps to easily scale the number of deployed pods easily.

Workload Portability — It is easy to set up on both local as well as cloud infrastructure.

It increases the speed of deployments. It provides stability to the deployed app.

A container image is a ready-to-run software package, containing everything needed to run an application: the code and any runtime it requires, application and system libraries, and default values for any essential settings.

Problems with containers : —

They run on single Host and if the host fails the containers are lost. — A simple run-time can’t manage multiple containers.

— We need an agent for monitoring the containers, do health checks, etc.

When using OpenShift, there are a number of different ways that you can add an application. The main methods are:

Deploy an application from an existing container image.

Build and deploy from source code contained in a Git repository using a Source-to-Image builder.

Build and deploy from source code contained in a Git repository from a Dockerfile.

This blog will cover how to deploy an application from an existing container image using the OpenShift web console. The second part of the series will cover deploying from the command line using oc.