简体   繁体   English

将新卷附加到持久卷声明 (Kubernetes)

[英]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.

相关问题 Azure Kubernetes 服务 - 持久卷/持久卷声明更改权限 - Azure Kubernetes Service - Persistent Volume / Persistent Volume Claim change permissions Azure ACS AzureFile动态持久卷声明 - Azure ACS AzureFile Dynamic Persistent Volume Claim 我们如何创建基于天蓝色磁盘的持久卷声明并从 Kubernetes 中的 POD 使用它们? - How can we create azure-disk based persistent volume claim and use them from a POD in Kubernetes? 通过动态持久卷创建AzureFile持久卷时,声明创建的AzureFile没有元数据 - When creating a AzureFile persistent volume via a dynamic persistent volume claim the AzureFile created has no metadata Kubernetes 持久卷未显示实际容量 - Kubernetes Persistent Volume not shows the real capacity Kubernetes AKS持久卷磁盘声称多个节点 - Kubernetes AKS Persistent Volume Disk Claims To Multiple Nodes 我们可以在 kubernetes 的同一持久卷中创建多个数据库吗? - Can we create Multiple databases in Same Persistent Volume in kubernetes ? 如何配置手动配置的Azure托管磁盘以用作Kubernetes持久卷? - How to configure a manually provisioned Azure Managed Disk to use as a Kubernetes persistent volume? 在Storage Explorer中查看ALS永久卷数据 - See ALS persistent volume data in Storage explorer Persistent Volume Mount 导致 App 安装挂起 - Persistent Volume Mount Causes App install to hang
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM