In this chapter, we saw how to deploy our microservices in a Kubernetes local cluster to allow local development and testing. Having the whole system deployed on your local computer greatly simplifies developing new features or debugging the behavior of the system. The production environment will be very similar, so this also lays the foundation for it.
We first described the two microservices that were missing. The Users Backend handles the authentication for users and Frontend is a modified version of the monolith presented in Chapter 1, Making the Move – Design, Plan, and Execute, which connects to the two backends. We showed how to build and run them in a docker-compose way.
After that, we described how to set up a combination of .yaml files to configure applications properly in Kubernetes. Each microservice has its own deployment to define the available pods...