DevOps deploy Money Transfer application¶
In this module, we will deploy the Money Tranfer container for Arcadia Bank application and we will publish it.
Note
At the end of this module, Arcadia Bank application will look like this.
Note
In this lab, we will automate some tasks in the controller. As you noticed in the previous lab, it is long to create and you can make mistakes. We will deploy a new component using the NGINX Controller API.
Step 1 - Deploy Arcadia App2 with a CI/CD pipeline like a DevOps¶
In Gitlab, click on Administrator / Arcadia-App2
Click on file
deploy
Click
edit
and make a modification - like YES !!!!!Click
Commit changes
Note
At this moment, you simulate a commit like a DevOps. This
commit
will trigger awebhook
toJenkins
, so that Jenkins execute apipeline
.In Jenkins, click on
DeployApp2
pipelineA pipeline is running, click on it
You can follow the steps
Note
At this stage, App2 (Money Transfer app) is deployed un K8S. But you need to publish it via the controller.
Step 2 - Publish Money Transfer App with NGINX+ and Controller¶
In the
Jumphost
openPostman
Open collection
Deploy Component App2
Send the first call
Log in NGINX Controller
Send the second call
Create App2 Component
Note
With one click, you created the component. Fast and no human mistake.
Connect to Controller GUI and check the new component in
web application arcadia
Note
You can notice the new
Money Transfer
component is createdIn
Chrome
refresh the page. You can see the new AppMoney Transfer
Transfer some money to your friends in order to populate analytics