Skip to content

Commit

Permalink
Added the flow
Browse files Browse the repository at this point in the history
  • Loading branch information
asifdxtreme committed Jun 21, 2021
1 parent 6a4b1e6 commit e6a77c1
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion soda-syncer/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,12 @@ Consistent Snapshot is considered as snapshots which are taken at regular interv
Consistent snapshot is provided by few CSI Plugin Drivers, but most of them lack this feature, Soda provides this solution for CSI Plugin Drivers which gives local PV. The local PV is backed up by soda-syncer at regular interval as configured and backed up to the cloud of your choice.
Soda leverages the Soda profile and [CSI Plug-N-Play](../csi-plug-n-play/) design to configure the snapshot policy and does the backup independently without platform support, currently this solution is available for K8s, and it doesn't require any operator/crd to add on this feature to existing CSI plugins.

![Consistent Snapshot Solution](static/assets/consistent-snapshot.png)
![Consistent Snapshot Solution](static/assets/consistent-snapshot.png)

Flow :
1. soda-csi-provisioner watches for the sc,pvc & pv objects
2. soda-csi-provisioner fetches the profile details from [soda-proxy](https://github.com/sodafoundation/nbp/tree/master/csi-plug-n-play/sidecars/soda-proxy)
3. soda-proxy connects to soda-api server with proper authentication to get the profile details.
4. Using the profile details soda-csi-provisioner picks the backend the CSI driver and provisions the volume.
5. soda-csi-provisioner sends the consitent snapshot request to soda-syncer based on the profile configuration recived in Step 2.
6. soda-syncer at configured intervals invokes restic to do the cloud backup.

0 comments on commit e6a77c1

Please sign in to comment.