<p>I want a kubernetes data to be backed up. So I have a persistent disk with kubernetes cluster and have set <em>reclaimPolicy: Retain</em> on storage.yaml file to make sure disks should not be deleted. </p>

<p>After the deletion of kubernetes cluster the disk retains on compute Engine -> Disks. But with the help of disk i am unable to create a kubernetes cluster. I have options only to create VM in GCP.</p>

<p>Is there a possible way to create a new kubernetes cluster with the existing disk on GCP</p>

klee
<p>To use your existing Persistent Disk in a new GKE cluster, you'll need to first create the new cluster, then:</p>

<ul>
<li>create and apply new PersistentVolume and PersistentVolumeClaim objects based on the name of your existing PD.</li>
<li>Once those exist in your cluster, you'll be able to give a Pod's container access to that volume by specifying values for the container's <code>volumeMounts.mountPath</code> and <code>volumeMounts.name</code> in the pod definition file.</li>
</ul>

<p>You'll find more details about how to achieve this in the doc <a href="https://cloud.google.com/kubernetes-engine/docs/how-to/persistent-volumes/preexisting-pd" rel="nofollow noreferrer">here</a>.</p>
