简体   繁体   English

返回并恢复 apache 点燃 kubernetes 中的卷

[英]Back and restore apache ignite volumes in kubernetes

I need to create backups and restore for volumes in aws kubernetes cluster.我需要为 aws kubernetes 集群中的卷创建备份和恢复。 I was reading about CSI driver in kubernetes docs.我正在阅读 kubernetes 文档中的 CSI 驱动程序。 Though link below has mentioned the steps but I have few questions虽然下面的链接已经提到了这些步骤,但我有几个问题

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

  1. Where does it take backups.它在哪里进行备份。 No s3 location mentioned anywhere任何地方都没有提到 s3 位置
  2. Persistent volume claims, storage classes and persistent volumes are referenced in statefulset.yaml.持久卷声明、存储类和持久卷在 statefulset.yaml 中引用。 To enable snapshots and restore from snapshot incase needed.在需要时启用快照并从快照还原。 So it create volumes when pod is created.因此,它在创建 pod 时创建卷。

I am unable to understand how can we plugin snapshot.yaml and restore.yaml to create backups and to restore from backup.我无法理解我们如何插入 snapshot.yaml 和 restore.yaml 来创建备份并从备份中恢复。

Can anyone advise on this please or share link to appropriate documents.任何人都可以就此提出建议或分享相应文件的链接。

Don't use the infrastructure to perform a backup.不要使用基础架构来执行备份。 Ignite is a distributed system and its data needs to be consistent across all its nodes. Ignite 是一个分布式系统,其数据需要在其所有节点之间保持一致。 Getting a snapshot of a single volume or even all the volumes connected to a pod is not sufficient.获取单个卷甚至连接到 pod 的所有卷的快照是不够的。

Instead, try to use the built-in tools.相反,请尝试使用内置工具。 Ignite recently got the ability to perform snapshots and GridGain (which is built on Ignite) has had the ability for some time . Ignite 最近获得了执行快照的能力,而 GridGain(基于 Ignite 构建)已经有一段时间了

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM