Introduction to OpenShift Applications —How to Deploying Applications to OpenShift
OpenShift Basic Introduction
Openshift is a Red Hat product focused on a container platform for the development and hosting of enterprise applications. OpenShift is a PaaS (Platform as a Service) where you can handle and manage underline infrastructure components.
About OpenShift Origin
OpenShift is built on top of container tools, at least the “origin” version, and aims to help developers to manage and support full DevOps Cycle, such as SCM, passing through, Pipelines, Registries, and Software-defined networking. OpenShift origin version is based on top of Docker containers where the system creates an image of the application with prepackaged dependencies, this also makes the deployment process very easy. Kubernetes is also another fundamental tech in OpenShift because helps power the deployment and management of the Docker images across cluster autoscaled features.
Components of OpenShift
The collection of multiple containers is called “POD” which stands for Pods and Services. Multiple PODs generate deployments to other applications or services.
Deploying Applications to OpenShift
Step 1 :
Go to RedHat OpenShift Container Platform
Step 2
Let's Create a Project
OpenShift Administrator view Let's change this to Developer from the Left Navbar.
Step 03
After Shifting from Administrator to Developer we have options to add our project with respect to the language we are working with
RedHat Openshift has Images that you can choose From Catalog. For this Blog, I am Selecting Python and import the Application from GitHub
Step 04
After Creating the Application now we need to import the Application. Repo is available here https://github.com/sclorg/django-ex.git
After Creating Openshift will Clone your Application from GitHub and deploy it in a container
Finally, our application is deployed on Openshift
if you want to remove the Project Simply go to Topology and then Actions from where you can delete your deployment
Wrapping Up
That's All for Today, in the next Blogs we will also explorer more and more about Redhat Openshift Technologies. You can reach me out on Linkedin if you have any Query.