Chapter 4: Deploying Kubernetes Using KinD
One of the largest obstacles to learning Kubernetes is having enough resources to create a cluster for testing or development. Like most IT professionals, we like to have a Kubernetes cluster on our laptops for demonstrations and for testing products in general.
Often, you may have a need to run multiple clusters for a complex demonstration, such as a multi-cluster service mesh or testing kubefed2
. These scenarios would require multiple servers to create the necessary clusters, which, in turn, would require a lot of RAM and a hypervisor.
To do full testing on a multiple cluster scenario, you would need to create six nodes for each cluster. If you created the clusters using virtual machines, you would need to have enough resources to run 6 virtual machines. Each of the machines would have an overhead including disk space, memory, and CPU utilization.
But what if you could create a cluster using just containers? Using containers,...