Skip to content

Latest commit

 

History

History
45 lines (26 loc) · 1.26 KB

README.md

File metadata and controls

45 lines (26 loc) · 1.26 KB

App modernization with OpenShift Virtualization and Service Mesh

In this lab we modernize a monolithic application. First we move the monolith to OpenShift Virtualization, then we apply the Strangler pattner and move one bounded context into a microservice. We install and configure Service Mesh to make a Canary Release of the new microservice.

This is what we want to achieve:

App modernization with OpenShift Virt, Container Platform and Service Mesh

Disclaimer: The monolith isn't a real legacy app. But you could use exactly the same steps to modernize your big old Java application.

Instructions

You'll find instructions how to setup the infrastructure and how to run the lab here:

Develop

You don't need these steps if you just want to follow the lab. If you want to make changes to the apps or run it locally, continue.

Monolith

Run in app folder:

python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

In VSCode: Cmd-Shift-P > Select Python Interpreter > Enter Interpreter Path -> APPFOLDER/.venv/

python main.py

Webapp

npm run dev

Microservice

quarkus dev