Member-only story
Working with Microservices-9: Preparing the staging pipeline in Jenkins, and deploying the microservices app to the Kubernetes cluster using Rancher, Helm, Maven, Amazon ECR, and Amazon S3. Part-2
We will prepare the staging pipeline in Jenkins, and deploy the Java-based Springboot web application consisting of 10 microservices to the cluster with Helm. We will prepare script files to run in the Jenkins pipeline, and then we will do packaging, tagging, pushing, and deploying with these script files. We will create Rancher API Key to access the “Rancher” from the Jenkins pipeline. We will prepare Jenkinsfile and Jenkins Staging pipeline. Finally, we will be able to deploy the microservices app on the Kubernetes cluster by running a single “helm install” command in the Jenkins CI/CD pipeline. We will do it all step by step.

Topics we will cover:
This article will be published in two parts.
The first part will contain the following (previous article);
1. Connecting to the Jenkins interface
2. Creating a repo on AWS ECR using the Jenkins pipeline
3. Preparing a script to create AWS ECR repo tags for the staging docker images
4. Preparing a script to build the staging docker images
5. Preparing a script to push the staging docker images
6. Preparing a script to package the microservice app with Maven
7. Creating a Rancher API Key
The second part will contain the following (in this article);