OpenEBS is a popular open source, cloud-native storage (CNS) project with a large community. In this section, we will install an OpenEBS persistent storage provider. You will learn how to create volumes using different types of storage engine options for stateful workloads on Kubernetes.
Getting ready
For this recipe, we need to have helm and kubectl installed. Make sure you have a Kubernetes cluster ready and kubectl configured to manage the cluster resources.
How to do it…
This section is sub-divided further into the following subsections to facilitate the process:
- Installing iSCSI client prerequisites
- Installing OpenEBS
- Using ephemeral storage to create persistent volumes
- Creating storage pools
- Creating OpenEBS storage classes
- Using an OpenEBS storage class to create dynamic PVs
Installing iSCSI client prerequisites
The OpenEBS storage provider requires that the iSCSI client runs on all worker nodes:
- On all your worker...