Kubernetes basics
Kubernetes is an advanced open source orchestrator that you can install locally on your private machine’s cluster. At the time of writing, it is the most widespread orchestrator, and a de facto standard for cluster orchestration that can be used with a wide ecosystem of tools and applications. This section introduces basic Kubernetes concepts and entities.
A Kubernetes cluster is a cluster of virtual machines running the Kubernetes orchestrator. The virtual machines composing the cluster are called nodes. The smallest software unit we can deploy on Kubernetes is not a single application, but an aggregate of containerized applications called pods. While Kubernetes supports various types of containers, the most commonly used container type is Docker, which we analyzed in Chapter 5, Applying a Microservice Architecture to Your Enterprise Application, so we will confine our discussion to Docker.
Pods are important because applications belonging to the...