Running your microservices on Kubernetes
In this section, we will test the routes-matching worker microservice in Minikube, but we will also describe how to organize the various environments your microservices application will be deployed to: development, staging, and production. Each environment has its own peculiarities, such as an easy way to test each change in development and maximizing performance in production.
Organizing all deployment environments
It is also worth pointing out that the simplest test in Minikube requires a not-negligible setup time. Therefore, most development simply uses Docker, that is, a few containerized microservices organized into a unique Visual Studio solution that starts all of them when you launch the solution.
At this stage, we don’t test the whole application but just a few tightly interacting microservices, possibly simulating the remainder of the application with stubs. If communication is handled through a message broker,...