This project contains configuration files to deploy AIST Microservices SandBox.
This project uses Elasticsearch to store the Microservices' logs. In order to run this environment it's recommended to have these minimum resources configured for the docker environment:
- 2 CPUs
- 8GB RAM
- 30GB Hard drive
Once your docker environment is running, update vm.max_map_count
in order to Elasticsearch to run properly:
$ sudo sysctl -w vm.max_map_count=262144
To deploy the Microservices including EFK for logging, run:
$ docker-compose -f deploy/docker-compose/docker-compose.yml up --build -d
Check the containers are running with:
$ docker ps
To deploy the Microservices, run:
$ kubectl create -f deploy/kubernetes/manifests
Run the logging pods with EFK:
kubectl create -f deploy/kubernetes/manifests-logging
Check the containers are running with:
$ kubectl get pods --namespace="rideshare"
Navigate to http://localhost:4200/
, to load the FrontEnd Microservices webUI.
To check the logs, navigate to http://localhost:5601/
and configure the Index pattern
with the value fluentd-*
.
On Time Filter field name
select @timestamp
Click on the button Create
After that you can filter the logs to search for a specific pattern in the logs' fields.