26 lines
409 B
YAML
26 lines
409 B
YAML
|
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
|