Skip to content

Commit

Permalink
Add an example for backups via VolumeSnapshot.
Browse files Browse the repository at this point in the history
Signed-off-by: Cam Smith <[email protected]>
  • Loading branch information
cam-at-tactiq committed Jul 24, 2024
1 parent 6cf6ec1 commit 5f1a1b2
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions charts/cluster/examples/backups-volume-snapshot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
cluster:
instances: 1

backups:
enabled: true
provider: volumeSnapshot
volumeSnapshot:
# Points to our snapshot class, see https://kubernetes.io/docs/concepts/storage/volume-snapshot-classes/
className: "my-custom-snapshot-class"
scheduledBackups:
- name: daily-backup # Daily at midnight
schedule: "0 0 0 * * *" # Daily at midnight
backupOwnerReference: self
retentionPolicy: "30d"

0 comments on commit 5f1a1b2

Please sign in to comment.