Skip to content

Commit

Permalink
minor fix #46
Browse files Browse the repository at this point in the history
  • Loading branch information
GowthamChowta committed Mar 31, 2022
1 parent a0b48cd commit 0376cf2
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 17 deletions.
26 changes: 9 additions & 17 deletions instance-creation.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# Download the necessary files
git clone https://github.com/GowthamChowta/jetstream_kubespray.git &&
cd jetstream_kubespray &&
git checkout -b branch_v2.15.0 origin/branch_v2.15.0 &&
cd .. &&
git clone https://github.com/airavata-courses/terra.git &&
cd terra &&
git checkout ansible-kub-setup &&
cd .. &&
sudo apt-get update &&
# Install open stack
Expand Down Expand Up @@ -40,20 +48,4 @@ sleep 30 &&
ansible-playbook -i hosts master.yml &&
sleep 30 &&
ansible-playbook -i hosts workers.yml &&
ssh ubuntu@$IP &&
sudo su &&
git clone https://github.com/airavata-courses/terra.git &&
cd terra &&
git checkout ansible-kub-setup &&
cd Kubernetes\ files/ &&
kubectl apply -f MySQLConfigMap.yaml &&
kubectl apply -f MySQLService.yaml &&
sleep 30 &&
kubectl apply -f rabbitmq.yaml &&
sleep 30 &&
kubectl apply -f data-retrieval.yaml &&
kubectl apply -f api-gateway.yaml &&
kubectl apply -f weatherForecast.yaml &&
kubectl apply -f user-managment.yaml &&
kubectl apply -f userinterface.yaml &&
kubectl get pods
ssh ubuntu@$IP
16 changes: 16 additions & 0 deletions run-kub-cluster.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
sudo su &&
git clone https://github.com/airavata-courses/terra.git &&
cd terra &&
git checkout ansible-kub-setup &&
cd Kubernetes\ files/ &&
kubectl apply -f MySQLConfigMap.yaml &&
kubectl apply -f MySQLService.yaml &&
sleep 30 &&
kubectl apply -f rabbitmq.yaml &&
sleep 30 &&
kubectl apply -f data-retrieval.yaml &&
kubectl apply -f api-gateway.yaml &&
kubectl apply -f weatherForecast.yaml &&
kubectl apply -f user-managment.yaml &&
kubectl apply -f userinterface.yaml &&
kubectl get pods

0 comments on commit 0376cf2

Please sign in to comment.