add weekly
This commit is contained in:
13
helm/longhorn/dev/templates/backup-weekly.yaml
Normal file
13
helm/longhorn/dev/templates/backup-weekly.yaml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
apiVersion: longhorn.io/v1beta2
|
||||||
|
kind: RecurringJob
|
||||||
|
metadata:
|
||||||
|
name: backup-weekly
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
spec:
|
||||||
|
cron: "0 0 * * 0" # Tous les dimanches à minuit
|
||||||
|
task: "backup"
|
||||||
|
groups:
|
||||||
|
- "backup" # Optionnel : permet de regrouper les jobs
|
||||||
|
retain: 4 # Conserver 4 backups hebdomadaires (1 mois)
|
||||||
|
concurrency: 2
|
||||||
|
|
||||||
Reference in New Issue
Block a user