Orchestrating containers with Kubernetes
Docker containers are pretty easy and powerful, as we saw from the previous recipe, but without a strong container orchestration system, managing containers can become pretty intensive. Kubernetes (also written as K8s) is an open source container orchestration system that automates the management, deployment, and scaling of containerized applications. It was originally developed at Google and, over the years, has become the most popular container orchestration software. It is widely available across all major cloud providers.
Getting ready
In this recipe, we will see how we can leverage Kubernetes to automate the deployment and scaling of our application container, which we created in the previous recipe.
Kubernetes is packaged along with the newer versions of the Docker Desktop installation and works in a pretty straightforward manner. However, we will be using minikube, which is a standard distribution that’s provided by Kubernetes...