Technical requirements
For this chapter, you will need the following:
- A deployed Kubernetes cluster is needed. You can use either a local or a cloud-based cluster, but to fully understand the concepts, we recommend using a multi-node, cloud-based Kubernetes cluster. The cluster must support the creation of PersistentVolumeClaims. Any cloud-based cluster, or local cluster, for example,
minikube
with ak8s.io/minikube-hostpath
provisioner, will be sufficient. - A Kubernetes CLI (
kubectl
) must be installed on your local machine and configured to manage your Kubernetes cluster.
Kubernetes cluster deployment (local and cloud-based) and kubectl
installation have been covered in Chapter 3, Installing Your First Kubernetes Cluster.
You can download the latest code samples for this chapter from the official GitHub repository at https://github.com/PacktPublishing/The-Kubernetes-Bible-Second-Edition/tree/main/Chapter12.