Skip to main content
Skip table of contents

Setup OpenEBS for Local Volume Provisioning

This guide illustrates the procedure to deploy and configure OpenEBS for Kubernetes for local volume provisioning.

  1. Do not install OpenEBS using kubectl because this will cause issues later in upgrading the system to a newer version of CX.

  1. See OpenEBS Prerequisites for the environment readiness.

  2. Install using the following commands

    BASH
    helm 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 

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.