Setup OpenEBS for Local Volume Provisioning
This guide illustrates the procedure to deploy and configure OpenEBS for Kubernetes for local volume provisioning.
Do not install OpenEBS using kubectl because this will cause issues later in upgrading the system to a newer version of CX.
See OpenEBS Prerequisites for the environment readiness.
Install using the following commands
BASHhelm repo add openebs https://openebs.github.io/openebs helm repo update helm install openebs openebs/openebs \ --namespace openebs \ --create-namespace \ --set engines.replicated.mayastor.enabled=false \ --set openebs-crds.csi.volumeSnapshots.enabled=false \ --set engines.local.lvm.enabled=false \ --set engines.local.zfs.enabled=false \ --set localpv-provisioner.hostpathClass.enabled=true \ --set localpv-provisioner.hostpathClass.reclaimPolicy=Retain \ --set localpv-provisioner.hostpathClass.isDefaultClass=true
Related