added schedules
This commit is contained in:
parent
fbf15f0ff5
commit
dc3afab9e6
12
infrastructure/velero/schedules/daily.yaml
Normal file
12
infrastructure/velero/schedules/daily.yaml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
apiVersion: velero.io/v1
|
||||
kind: Schedule
|
||||
metadata:
|
||||
name: daily-full
|
||||
namespace: velero
|
||||
spec:
|
||||
schedule: "0 23 * * *"
|
||||
template:
|
||||
labelSelector:
|
||||
matchLabels:
|
||||
backup: "true"
|
||||
ttl: 168h
|
||||
5
infrastructure/velero/schedules/kustomization.yaml
Normal file
5
infrastructure/velero/schedules/kustomization.yaml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- daily.yaml
|
||||
- weekly.yaml
|
||||
0
infrastructure/velero/schedules/monthly.yaml
Normal file
0
infrastructure/velero/schedules/monthly.yaml
Normal file
12
infrastructure/velero/schedules/weekly.yaml
Normal file
12
infrastructure/velero/schedules/weekly.yaml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
apiVersion: velero.io/v1
|
||||
kind: Schedule
|
||||
metadata:
|
||||
name: weekly-archive
|
||||
namespace: velero
|
||||
spec:
|
||||
schedule: "0 3 * * 0"
|
||||
template:
|
||||
labelSelector:
|
||||
matchLabels:
|
||||
backup: "true"
|
||||
ttl: 720h
|
||||
Loading…
Reference in a new issue