core-deployments/longhorn/recurringjobs.yaml

21 lines
365 B
YAML

apiVersion: longhorn.io/v1beta1
kind: RecurringJob
metadata:
name: snapshot
namespace: longhorn-system
spec:
cron: "40 * * * *"
task: "snapshot"
retain: 12
concurrency: 2
---
apiVersion: longhorn.io/v1beta1
kind: RecurringJob
metadata:
name: backup
namespace: longhorn-system
spec:
cron: "30 4 * * *"
task: "backup"
retain: 7
concurrency: 2