The code is available on GitHub at the following URL: https://github.com/PacktPublishing/Hands-On-Docker-for-Microservices-with-Python/tree/master/Chapter11. Note that the code is an extension of the code in Chapter10, with extra elements as described in this chapter. The structure is the same a subdirectory called microservices with the code, and another one called kubernetes with the Kubernetes configuration files.
To install the cluster, you need to build each individual microservice with the following commands:
$ cd Chapter11/microservices/
$ cd rsyslog
$ docker-compose build
...
$ cd frontend
$ ./build-test.sh
...
$ cd thoughts_backend
$./build-test.sh
...
$ cd users_backend
$ ./build-test.sh
...
This will build the required services.
Note that we use the build-test.sh script. We will explain how it works in this chapter.
And then, create the namespace example...