Testing the results in Kubernetes
In this section, we want to import the multi-pod YAML file, which is enriched with the Services and PVC configurations, on Kubernetes.
To provide a repeatable environment, we will use minikube (with a lowercase m), a portable solution, to create an all-in-one Kubernetes cluster as the local infrastructure.
The minikube project aims to provide a local Kubernetes cluster on Linux, Windows, and macOS. It uses host virtualization to spin up a VM that runs the all-in-one cluster or containerization to create a control plane that runs inside a container. It also provides a large set of add-ons to extend cluster functionalities, such as ingress controllers, service meshes, registries, logging, and more.
Another widely adopted alternative to spinning up a local Kubernetes cluster is the Kubernetes in Docker (KinD) project, which is not described in this book. KinD runs a Kubernetes control plane inside a container that's driven by Docker or...