Skip to content

Single user Pvc gets deletd when helm chart uninstalled #3718

@Dinesh-4320

Description

@Dinesh-4320

This issue arises when I redeploy the complete helm chart.
When I delete helm chart PVCs of singleuser pods get deleted. PVs enter into release state.
Afterwards when I redeploy helm chart the PVC doesnt get attached to the same volume since it already entered to release state.

How can prevent PVC from getting deleted when I uninstall the helm chart

How to reproduce

  1. Deploy the helm chart
  2. Start and run a singleuser server
  3. Uninstall and install helm chart
  4. New pvc and pv gets creatted with old pv in released state

Expected behaviour is to not delete pvc when helm chart gets uninstalled.

My setup is in aws eks.
Ebs csi drivers used for dynamic volume provisioning using storage class. Reclaim polocy also set to retain.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions