-
Notifications
You must be signed in to change notification settings - Fork 2
Milestone 2
CleverParty edited this page Apr 28, 2020
·
11 revisions
Steps to make kubernetes to work :
- Master Instance : [email protected]
- Slave Instance (a) : [email protected] (b) : [email protected]
Website up and running on : http://149.165.171.111:30000/
#please clone https://github.com/airavata-courses/SquirtleSquad.git and git checkout Milestone-2 branch
cd SquirtleSquad/Kubes2/
#delete all containers
kubectl delete deployment,svc apigateway usermanagement sessionmanagement dataretrieval modelexecution inference
kubectl delete deployment zookeeper-dep kafka-dep
kubectl delete svc zookeeper kafka-service
#create containers
kubectl apply -f message.yml
kubectl apply -f apigateway.yml
kubectl apply -f usermanagement.yml
kubectl apply -f sessionmanagement.yml
kubectl apply -f dataretrieval.yml
kubectl apply -f modelexecution.yml
kubectl apply -f inference.yml
#view pods
kubectl get pods
#view pod logs
kubectl logs <pod name>
#scaling deployments example
kubectl scale deployment/apigateway deployment/usermanagement deployment/sessionmanagement deployment/dataretrieval deployment/modelexecution deployment/inference --replicas=3
Testing:
CI/CD : Travis CI
The builds are generated as soon as the commit has been published . You can view the builds on this link --> https://travis-ci.org/github/airavata-courses/SquirtleSquad/builds
JMeter Results :
1 Replica :
graph aggregate :
3 Replicas :
graph aggregate :
5 Replicas :
graph aggregate :
JMeter Summary Report :