-
Notifications
You must be signed in to change notification settings - Fork 4
Assignment 2 : Details
- All our applications have been containerized using docker.
- The applications have been clusterized using Kubernetes for automatic deployment, scaling and management of containers.
- Deployment of system on JetStream using OpenStack.
- We have enabled CI/ CD pipeline using TravisCI for integration and deployment.
- Used JMeter and plotted graphs to evaluate scaling of our system.
- Addressed issues faced during Assignment 1.
-
IP details of our cluster:
nsa-kubs-master - 149.165.170.202
nsa-kubs-slave1 - 149.165.170.186
nsa-kubs-slave2 - 149.165.170.179
To login into master system use: (Public cloud-key is in our git branch assignment 2 if needed)
ssh -i cloud-key.pub [email protected]
-
Travis CI:
Can be accessed using your Git credentials using link below:
https://www.travis-ci.org/
-
Git clone our repository
git clone -b assignment2 https://github.com/airavata-courses/NSA.git
-
Before doing a test commit, do a git clone of deployment_scripts branch as below on our master:
ssh cloud-key [email protected]
mkdir scripts
cd scripts
git clone -b deployment_scripts https://github.com/airavata-courses/NSA.git
cp -R NSA/* /home/ubuntu/
-
Do a test commit on this folder
-
Triggers Travis CI and runs the test cases for the services
-
If the test cases are passed, build the docker images and push to docker hub.
-
Deployment of Kubernetes pods from docker hub
Our Website is Deployed at : http://149.165.170.202:31001/
CI/CD is also implemented on individual feature branches. You can do a test commit on individual branch given below:
- feature/user-interface
- feature/user-management
- feature/api-gateway
- feature/data-retrieval
- feature/post-processing
- feature/session-management
Link to install and setup VM on Openstack from scratch: Openstack
We have captured the screenshots of Pods, services and deployments and how they look here
Jmeter results were run on 3 replicas: 1 3 and 5 The results were captured here
You might need to open below ports
22 80 443 2181 2888 3002 3036 3888 5002 5003 8080 8081 8082 9092 30016 30462 30586 30718 30781 30824 30907 31001 31002 31005 31006 31009 31020 31036 31083 31156 31291 31448 32001 32450 32745