Persistent volumes

You can enable Persistence Volume (PV) to keep the state for the Lenses embedded database. The chart will create automatically a Persistence Volume Claim (PVC) and if you provide a Storage Class, it will create/bound dynamically a PV with a reclaim policy set to Delete.

Based on the type of storageClass you will use, the PVC will choose the appropriate volume plugin for provisioning PVs. You can check more storage provisioning info.

If you need to change the re-claim policy from Delete, use following command:

kubectl patch \
    pv <your-pv-name> \
    -p '{"spec":{"persistentVolumeReclaimPolicy":"Retain"}}'