-
Notifications
You must be signed in to change notification settings - Fork 6
Milestone 3
meetdvalia edited this page Mar 29, 2021
·
24 revisions
- Dockerized all Microservices
- Established CI/CD pipeline using Jenkins
- Deployed containerized microservices using Kubernetes
- Automation Scripts for management of VMs and Deployment of Kubernetes
- Deployed entire system on vanilla Jetstream VMs
Our first step was to create dockerized versions of each micro-service. After that, we integrated all microservices to be continuously deployed using Jenkins Thus, Jenkins provided continuous deployment by pushing every new git commit into docker hub ( docker registry) Continuous deployment was achieved via ssh-ing into our kubectl pod through the Jenkins pipeline. Each new build inside the docker hub deploys the image into the Kubernetes cluster.

- Push commit on Github repo on specific microservice branch
- This will trigger a Jenkins build for a new docker image
- Jenkins will also check on the test cases written for that image before pushing image on Docker Hub
- Once new image is created, Jenkins will SSH to Kubernetes Server and deploy the new microservice image. This will also remove previous version of that microservice
Website Deployed at: http://149.165.156.145:30030/
- To create network, router, security groups, floating IPs, key-pairs and instances
- Starting Instances
- Setup Kubernetes in each Instance
- Connecting Worker to Master
- Deploying Ping Intelligence app on Kubernetes Cluster
source TG-CCR180043-openrc.sh
provide IU Jetstream password
ssh-keygen
git clone https://github.com/sudip-padhye/PingIntelligence.git && cd PingIntelligence && git checkout automation-script &&
git clone https://github.com/zonca/jetstream_kubespray &&
cd jetstream_kubespray &&
git checkout -b branch_v2.15.0 origin/branch_v2.15.0 &&
cd .. &&
bash pingintelligence-automation-script.sh
sudo su
git clone https://github.com/airavata-courses/PingIntelligence.git &&
cd PingIntelligence &&
git checkout kubernetes_files &&
kubectl apply -f ../PingIntelligence/ &&
sleep 100 &&
kubectl get pods -o wide
at the end of this process, you will be able to see all the running pods on the Cluster
source TG-CCR180043-openrc.sh
bash ./inventory/kubejetstream/terraform_destroy.sh