Back and restore apache ignite volumes in kubernetes

1/27/2022

I need to create backups and restore for volumes in aws kubernetes cluster. I was reading about CSI driver in kubernetes docs. 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

  1. Where does it take backups. No s3 location mentioned anywhere
  2. Persistent volume claims, storage classes and persistent volumes are referenced in statefulset.yaml. To enable snapshots and restore from snapshot incase needed. So it create volumes when pod is created.

I am unable to understand how can we plugin snapshot.yaml and restore.yaml to create backups and to restore from backup.

Can anyone advise on this please or share link to appropriate documents.

-- Surinder
amazon-ebs
backup-strategies
ignite
kubernetes

1 Answer

1/27/2022

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. Getting a snapshot of a single volume or even all the volumes connected to a pod is not sufficient.

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.

-- Stephen Darlington
Source: StackOverflow