[英]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.一直在为我的 Kubernetes 集群制定灾难恢复计划,我能够拍摄我的托管磁盘的快照,但我不确定如何将恢复的管理器磁盘绑定到现有的卷 cliam,以便在丢失数据后重新补充数据数据。
You can mount any disk manually as a volume in a POD to recover data.您可以手动挂载任何磁盘作为 POD 中的卷来恢复数据。 Better approach would be to use Velero to take k8s configuration backup.
更好的方法是使用Velero进行 k8s 配置备份。 It will save the disk and PVC information and should restore the volume claims smoothly.
它将保存磁盘和 PVC 信息,并应顺利恢复卷声明。
Additionally, have you looked at AzureCSI drivers?此外,您是否查看过AzureCSI驱动程序? That's the hot stuff in AKS right now.
这就是现在 AKS 中的热门内容。 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.
最佳实践仍然是尽可能使用Velero 进行配置,并使用 CSI 进行备份。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.