How to recover the deleted GKE cluster from GCP

11/10/2018

What are the steps for recovering the deleted Google Kubernetes Engine cluster in Google Cloud Platform?

-- prabhat
google-cloud-platform
kubernetes
recover

1 Answer

11/11/2018

Once you delete it, it's gone. You can't recover it unless you backed it up.

There are a couple of popular tools to backup your cluster:

If you have a stateful applications Ark is a better solution, since it handles things like persistent volumes. If you have stateless applications kube-backup is good enough since it basically backups all your Kubernetes cluster resources.

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 mysqldump.

-- Rico
Source: StackOverflow