core-deployments/longhorn/recurringjobs.yaml

26 lines
409 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"
groups:
- default
retain: 12
concurrency: 2
---
apiVersion: longhorn.io/v1beta1
kind: RecurringJob
metadata:
name: backup
namespace: longhorn-system
spec:
cron: "30 4 * * *"
task: "backup"
groups:
- default
retain: 7
concurrency: 2