Labs
Now, we will have a short lab section that will help us to learn and understand the basics of deploying a local Kubernetes environment with Minikube, testing some of its resource types to validate the cluster.
The code for the labs is available in this book’s GitHub repository at https://github.com/PacktPublishing/Containers-for-Developers-Handbook.git. Ensure you have the latest revision available by simply executing git clone https://github.com/PacktPublishing/Containers-for-Developers-Handbook.git
to download all its content or git pull
if you already downloaded the repository before. All commands and content used in these labs will be located inside the Containers-for-Developers-Handbook/Chapter8
directory.
We will start by deploying a Minikube cluster with two nodes (one master and one worker). We will deploy them with 3 GB of RAM each, which will be more than enough to test application behavior when some of the cluster node dies, but you will probably not need...