在 kubernetes 中返回并恢复 apache ignite volumes

Back and restore apache ignite volumes in kubernetes

我需要为 aws kubernetes 集群中的卷创建备份和恢复。我正在阅读 kubernetes 文档中的 CSI 驱动程序。虽然下面link提到了步骤,但我有几个问题

https://kubernetes-csi.github.io/docs/snapshot-restore-feature.html https://ignite.apache.org/docs/latest/installation/kubernetes/amazon-eks-deployment

  1. 在哪里进行备份。任何地方都没有提到 s3 位置
  2. 持久卷声明、存储 类 和持久卷在 statefulset.yaml 中引用。启用快照并在需要时从快照恢复。因此它会在创建 Pod 时创建卷。

我无法理解我们如何插入 snapshot.yaml 和 restore.yaml 来创建备份和从备份恢复。

任何人都可以就此提出建议或分享 link 到适当的文件。

不要使用基础架构执行备份。 Ignite 是一个分布式系统,其数据需要在所有节点之间保持一致。获取单个卷甚至连接到 pod 的所有卷的快照是不够的。

相反,请尝试使用 built-in 工具。 Ignite 最近获得了 ability to perform snapshots and GridGain (which is built on Ignite) has had the ability for some time.