core-deployments/longhorn/recurringjobs.yaml

22 lines
365 B
YAML
Raw Normal View History

2024-01-26 13:39:13 +01:00
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