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=262144To deploy the Microservices including EFK for logging, run:
$ docker-compose -f deploy/docker-compose/docker-compose.yml up --build -dCheck the containers are running with:
$ docker psTo deploy the Microservices, run:
$ kubectl create -f deploy/kubernetes/manifestsRun the logging pods with EFK:
kubectl create -f deploy/kubernetes/manifests-loggingCheck 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.