miracle2k/k8s-snapshots

Support Kubernetes Volume Snapshot API

miracle2k opened this issue · 3 comments

Rather than working directly with the backends, we can now let Kubernetes do it; we would just take care of creation and expiration.

https://kubernetes.io/blog/2018/10/09/introducing-volume-snapshot-alpha-for-kubernetes/

This would be super helpful for us running on-prem with CEPH. I'm happy to contribute a couple of $100 to get this implemented.

Want to ask, if there are some news on this? I have successfully implemnted your project for digital ocean. It would be really nice, if I could use the new k8s 1.17 feature VolumeSnapshots to manage the creation of the snapshots!
Do you know some other possibilities how can I manage it?
I wanted to use CronJob pods to create the snapshots scheduled but didn't find anything useful how to do it.
Thank you in advance.

I implemented this in a new project built with bash and kubectl: k8s-snapshotter

It's a different approach; no metadata annotations but rather a CronJob resource (or multiple) configured for the PVC. It will retain a specified number of snapshots of a certain frequency before starting to delete the oldest ones as new ones are created.

I'll have my $100 now