forked from k8up-io/k8up
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathk8up_v1_schedule.yaml
62 lines (62 loc) · 1.33 KB
/
k8up_v1_schedule.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
---
apiVersion: k8up.io/v1
kind: Schedule
metadata:
name: schedule-test
spec:
resourceRequirementsTemplate:
requests:
memory: "64Mi"
cpu: "250m"
limits:
memory: "128Mi"
cpu: "500m"
backend:
repoPasswordSecretRef:
name: backup-repo
key: password
s3:
endpoint: http://minio.minio:9000
bucket: k8up
accessKeyIDSecretRef:
name: backup-credentials
key: username
secretAccessKeySecretRef:
name: backup-credentials
key: password
archive:
schedule: '0 * * * *'
restoreMethod:
s3:
endpoint: http://minio.minio:9000
bucket: restoremini
accessKeyIDSecretRef:
name: backup-credentials
key: username
secretAccessKeySecretRef:
name: backup-credentials
key: password
backup:
schedule: '*/2 * * * *'
failedJobsHistoryLimit: 2
successfulJobsHistoryLimit: 2
promURL: http://minio.minio:9000
resources:
requests:
memory: "64Mi"
cpu: "250m"
limits:
memory: "256Mi"
cpu: "1000m"
check:
resources:
requests:
memory: "64Mi"
cpu: "250m"
schedule: '@hourly-random'
promURL: http://minio.minio:9000
prune:
schedule: '*/4 * * * *'
retention:
keepLast: 5
keepDaily: 14