How it works...

We achieved a lot in this recipe, and there are a lot of concepts to understand if we are new to Kubernetes. While a full description of Kubernetes is outside the scope of this book, the following diagram illustrates what our single service deployment looks like:

The structure is as follows:

A full introductory tutorial on Kubernetes can be found on the official Kubernetes site, https://kubernetes.io/docs/tutorials/. This tutorial provides a great explanation of the basic concepts that we need in order to work with Kubernetes. If the intricacies of our deployment thus far are still a little unclear, we recommend working through the Kubernetes tutorial and revisiting the preceding diagram before proceeding to the next recipe.

There are, of course, alternatives to Kubernetes. Some alternatives are listed here:

At the time of writing, Kubernetes is the leading container orchestration platform.