Deploying to Kubernetes for development and test
In this section, we will deploy the microservices in an environment to be used for development and test activities, such as system integration tests. This type of environment is used primarily for functional tests and is, therefore, configured to use minimal system resources and the latest available versions of the microservices’ Docker images.
To be able to run functional tests, we will deploy the microservices together with the resource managers they require in the same namespace, which we will call hands-on
. This makes it easy to set up a test environment and also to remove it once we are done with it. We can simply delete the namespace to get rid of all resources used by the test environment. This Deployment scenario is illustrated by the following diagram:

Figure 16.2: Resource managers deployed in the same Kubernetes namespace as the microservices in the dev environment
Before we can deploy the system landscape...