Skip to content

Project 4: Custos setup on JS1

Vinayaka Gadag edited this page May 6, 2022 · 3 revisions

Custos setup steps - Jetstream1

  • Create three medium type instances on JS1
  • Setup ssh t connect to JS1 instances from you local machine
    • Put your id_rsa.pub key on all three JS1 instances
    • Connecting to instances:
      • Start SSH agent on your local machine: eval $(ssh-agent -s)
      • Add your private key to ssh agent ssh-add ~/.ssh/id_rsa
      • ssh -o ForwardAgent=yes [email protected]

Setup Rancher and Kubernetes

  • Follow the same steps as JS2

Setup kubectl on local and master instance

  • On local, copy the kube-config on to ~/.kube/config (you can get it from Rancher UI)
  • On master node,
    • Install kubectl
    • Create sudo mkdir -p ~/.kube
    • Copy the kube-config content into config file

Setup Custos

  • Follow the documentation of all the backing services,
  • Follow the below steps to deploy Custos services to Kubernetes
    • Clone the Custos repo git clone https://github.com/apache/airavata-custos.git
    • git checkout develop
    • Modify root pom.xml
    • You can follow the documentation of team CloudElves for the rest of the steps
    • We have built and published the Custos docker image to docker hub
    • We faced number of errors while deploying Custos services and couldn't completely deploy all the services since few pods were failing to start
    • We would like to explore Custos beyond the course and deploy services successfully

Rancher dashboard

Screen Shot 2022-05-05 at 11 36 56 PM

Kubernetes Dashboard

Screen Shot 2022-05-05 at 11 40 44 PM

Deployments

Screen Shot 2022-05-05 at 11 42 15 PM

Pods

Screen Shot 2022-05-05 at 11 42 58 PM