Summary
We started this chapter by learning about the building blocks that we can use to create a Docker image for the hexagonal system. Then, we created two Docker image types. The first one was based on the Uber .jar
file, which is used to package and run the application, while the second one was based on native executables, where we could leverage the features Quarkus provides to create a native executable artifact.
Then, we created the Kubernetes objects that were required to deploy the hexagonal system in a Kubernetes cluster. Finally, we deployed the hexagonal system in a local Minikube cluster. More than a hexagonal system, we now have a cloud-native hexagonal system ready to tap into the advantages provided by cloud environments.
As we are nearing the end of this book, in the next chapter, we'll learn about some best practices to help us develop robust hexagonal applications.