Hizzy
Hizzy

Reputation: 879

Attaching New Volume to Persistent Volume Claim (Kubernetes)

Been working on a disaster recovery plan for my Kubernetes cluster and I am able to make snap shots of my managed disks but im not sure how to bind a recovered manager disk to an existing volumn cliam so I can re hydrate my data after a loss of data.

Upvotes: 0

Views: 204

Answers (1)

Faheem
Faheem

Reputation: 3569

You can mount any disk manually as a volume in a POD to recover data. Better approach would be to use Velero to take k8s configuration backup. It will save the disk and PVC information and should restore the volume claims smoothly.

Additionally, have you looked at AzureCSI drivers? That's the hot stuff in AKS right now. It does support Volume snapshotting and recovery from within the cluster. Best practice still would be to use Velero for configuration with CSI to backup whenever possible.

Upvotes: 1

Related Questions