In this project several technologies will enable the creation of an application that will allow for independent microservices to handle file conversion. These will coordinate initially with a Netflix Eureka server and then be Dockerized and managed by Kubernetes and Google Cloud.
- Initialize the Eureka server.
- Initialize the conversion microservice.
- Initialize the web server.
- Open all web pages through the ports provided from Eureka (Eureka is at port 8761).
- If an error occurs where no conversion/text to pdf microservice is available wait for a minute so that it registers with Eureka and try again.
Run from the root directory the test_local_docker_compose.sh
file.
Warning!
Be aware that the script contains a docker rmi
command that removes all images with names eureka
, conversion_service
and client
.
- Make sure pods exist already and their status using
kubectl get pod
- Run from the root directory the
rolling_update.sh
file
Warning!
Be aware that the script contains a docker rmi
command that removes all images with names eureka
, conversion_service
and client
.
Follow the steps:
- Google Official Docs
- Disable all services on Google Cloud Platform.
- Open the hamburger menu
- Select APIs & Services
- Select Enabled APIs & Services
- Sort by most Requests (arrow points down)
- Click on each service with any entries
- Click the disable button.
- Java 18
- Netflix Eureka
- SpringBoot Framework
- Thymeleaf Templating Language
- Docker
- Kubernetes
- Google Cloud
- Intellij IDEA