Skip to content

cmcs200/CN_Project_Group12

Repository files navigation

Cloud Computing Final Project

  • Cristiano Santos
  • João Raimundo
  • João Rato

In this checkpoint of the implementation, each microservice is deployed in a docker container. gRPC were implemented to insure the communication between microservices. Addicionally, all the containers are orchestrated in Kubernetes.


How to deploy:

To set and configure Kubernetes with the microservices containers orchestrated run the command:

$ ./deploy_kubernetes.sh

How to access the services:

In order to access the services through a curl, an address is needed. You can get it by executing the following command:

kubectl describe ingress | grep -Po 'Address:\s\K.*' | tr -d " \t\r"

Then, you can start using the services. Replacing the {address} on the links bellow, its possible to gain access to the services:


Provider:

  • http://{address}/provider
  • http://{address}/provider/{c_name}
  • http://{address}/provider/pickUpDateTime/{start}/dropOffDateTime/{end}
  • http://{address}/provider/{record}

Statistics and Analytics:

  • http://{address}/analysis/provider/{p_id}/analytics/{c_name}
  • http://{address}/analysis/provider/{p_id}/stats/{c_name}

Correlations:

  • http://{address}/correlations/dateTime_distance
  • http://{address}/correlations/paymentType_tip
  • http://{address}/correlations/paymentType_totalAmmount
  • http://{address}/correlations/dateTime_paymentType
  • http://{address}/correlations/totalAmmount_tip
  • http://{address}/correlations/tripDistance_tip

Kubernetes-Dashboard:

Kubernetes-Dashboard is accessible on :

Use the secret token that is on kubernetes_deployment/secret_token.txt to login into the dashboard.


Prometheus:

Prometheus is accessible on :