Testing with Kubernetes
To be able to deploy the natively compiled microservices in Kubernetes, a new environment Helm chart has been added, which has been configured to use the Docker images that contain the natively compiled microservices. The Helm charts can be found in the following folders:
kubernetes/helm/
└── environments
└── dev-env-native
Another thing we need to consider before deploying the natively compiled microservices to Kubernetes is how to provision the Docker images. We don’t want to run the lengthy native compilation commands again to get new Docker images created in the minikube
instance. If we used a Docker registry in this book, we could have pushed the images to the registry, but we haven’t. Instead, we will extract the Docker images from Docker Desktop and import them into the minikube
instance, as a workaround for not using a Docker registry.
Move the Docker images from Docker Desktop...