- 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.
To set and configure Kubernetes with the microservices containers orchestrated run the command:
$ ./deploy_kubernetes.sh
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:
- http://{address}/provider
- http://{address}/provider/{c_name}
- http://{address}/provider/pickUpDateTime/{start}/dropOffDateTime/{end}
- http://{address}/provider/{record}
- http://{address}/analysis/provider/{p_id}/analytics/{c_name}
- http://{address}/analysis/provider/{p_id}/stats/{c_name}
- 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 is accessible on :
Use the secret token that is on kubernetes_deployment/secret_token.txt
to login into the dashboard.
Prometheus is accessible on :