rework storage to reduce backup load
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
07a1cd6648
commit
0be2949c50
5 changed files with 57 additions and 1 deletions
25
longhorn/recurringjobs.yaml
Normal file
25
longhorn/recurringjobs.yaml
Normal file
|
@ -0,0 +1,25 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue