mirror of
https://github.com/vhaudiquet/homeprod.git
synced 2026-09-13 12:41:13 +00:00
flux: re-order longhorn jobs for right dependencies
This commit is contained in:
@@ -5,7 +5,6 @@ resources:
|
||||
- namespace.yaml
|
||||
- repository.yaml
|
||||
- release.yaml
|
||||
- recurring-jobs.yaml
|
||||
secretGenerator:
|
||||
- name: longhorn-values
|
||||
files:
|
||||
|
||||
@@ -1,34 +0,0 @@
|
||||
# Recurring backup and snapshot schedules for Longhorn.
|
||||
apiVersion: longhorn.io/v1beta2
|
||||
kind: RecurringJob
|
||||
metadata:
|
||||
name: daily-snapshot
|
||||
namespace: longhorn-system
|
||||
spec:
|
||||
# Fast local recovery from accidental deletes.
|
||||
name: daily-snapshot
|
||||
task: snapshot
|
||||
cron: "0 2 * * *"
|
||||
retain: 7
|
||||
concurrency: 2
|
||||
labels:
|
||||
type: snapshot
|
||||
groups:
|
||||
- default
|
||||
---
|
||||
apiVersion: longhorn.io/v1beta2
|
||||
kind: RecurringJob
|
||||
metadata:
|
||||
name: daily-backup
|
||||
namespace: longhorn-system
|
||||
spec:
|
||||
# Daily NFS backup for DR if a node is lost.
|
||||
name: daily-backup
|
||||
task: backup
|
||||
cron: "0 3 * * *"
|
||||
retain: 7
|
||||
concurrency: 2
|
||||
labels:
|
||||
type: backup
|
||||
groups:
|
||||
- default
|
||||
Reference in New Issue
Block a user