---
title: "Deploying microservices in OpenShift"
canonical: "https://onesaitplatform.refined.site/space/DOCT/2220803063/Deploying%20microservices%20in%20OpenShift"
format: markdown
---
We will start by generating the service from the ControlPanel by configuring the necessary data: Git repository, Jenkins, etc.

![image](media://d24ac12f-bbdd-496b-b38c-0f02179ff3c0)

As CaaS, we indicate OpenShift and the access parameters:

![image](media://51aef90e-860c-4c31-a07a-6cf2e2e052a1)

Once we have everything configured, we can generate the Docker image of our service with the Jenkins pipeline already generated:

![image](media://d724a63e-ff78-460e-af8e-2e095a659c34)

And deploy it in an OpenShift namespace (we have used the Operations Console itself as an example to deploy it through this functionality):

![image](media://d1fb479c-69f9-417b-a53e-3305f6b5daad)

To finally see how our Operations Console has been deployed in OpenShift:

![image](media://a4169325-30ca-40f7-9ae1-44c89c053392)

Once deployed, we can also upgrade a microservice and add, delete or modify environment variables:

![image](media://69c6ed5d-6ba8-49f7-ae64-c0a44c8965e8)

![image](media://05e07b8a-adba-4fd3-a6b1-f55af86bf996)

![image](media://fad3af25-7ae7-430a-a250-d73e40d914cf)