I have a k8s cluster created using Kube-spray. The volume provisioning is supported using Rook. I was using persistent volumes till now.
The application is deployed using the helm chart. The helm release is upgraded multiple times for the test-purposes. I want the pods to use new volume each time I upgrade the chart. I don't want the pod to use the old data after helm upgrade.
How can I accomplish this? How to use ephemeral volumes?
Already tried removing the PVs before performing the helm upgrade.
One trick that we could try for temporary volume is:
helm upgrade
.