Distributed tracing with Istio
We are now ready to run the Hello application. First, we need to build a Docker image, so that we can deploy it to Kubernetes. The build process will store the image in the local Docker registry, but that's not good since minikube is run entirely in a virtual machine and we need to push the image to the image registry in that installation. Therefore, we need to define some environment variables to instruct Docker where to push the build. This can be done with the following command:
$ eval $(minikube docker-env)
After that, we can build the application:
$ make build-app mvn install [INFO] Scanning for projects... [... skipping lots of logs ...] [INFO] BUILD SUCCESS [INFO] ----------------------------------------------------------------- ...
Get Mastering Distributed Tracing now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.