Reusing persistent disks in stateful sets

development

#1

I am using a StatefulSet to create an elasticsearch cluster. It works fine on k8s by auto creating persistent volumes and claims.

Now I want to terminate the gke cluster and bring up a new one with the previous disks with loaded data (so I don’t have to repopulate my elasticsearch cluster each time).

I am aware of https://cloud.google.com/kubernetes-engine/docs/how-to/persistent-volumes/preexisting-pd for pods, but is this possible to reclaim previous disks with a StatefulSet say in the volume template or using another approach?