<p>What are the steps for recovering the deleted Google Kubernetes Engine cluster in Google Cloud Platform?</p>

prabhat
<p>Once you delete it, it's gone. You can't recover it unless you backed it up.</p>

<p>There are a couple of popular tools to backup your cluster:</p>

<ul>
<li><a href="https://github.com/heptio/ark" rel="nofollow noreferrer">Ark</a></li>
<li><a href="https://github.com/pieterlange/kube-backup" rel="nofollow noreferrer">kube-backup</a></li>
</ul>

<p>If you have a stateful applications Ark is a better solution, since it handles things like <a href="https://kubernetes.io/docs/concepts/storage/persistent-volumes/" rel="nofollow noreferrer">persistent volumes</a>. If you have stateless applications kube-backup is good enough since it basically backups all your Kubernetes cluster resources.</p>

<p>If you have stateful applications, i.e databases, it may also vary on a case by case basis, for example you'd backup a MySQL database with <a href="https://dev.mysql.com/doc/refman/8.0/en/mysqldump.html" rel="nofollow noreferrer"><code>mysqldump</code></a>.</p>
