khuedoan-homelab/system/k8up-operator/schedule.yaml

33 lines
769 B
YAML
Raw Normal View History

apiVersion: k8up.io/v1
kind: Schedule
metadata:
name: schedule-test
spec:
backend:
2022-01-03 11:55:51 +07:00
s3:
endpoint: s3.us-west-002.backblazeb2.com
bucket: khuedoan-homelab-backup
2022-01-03 11:55:51 +07:00
accessKeyIDSecretRef:
name: backblaze-credentials
2021-12-25 21:58:02 +07:00
key: application-key-id
2022-01-03 11:55:51 +07:00
secretAccessKeySecretRef:
name: backblaze-credentials
2021-12-25 21:58:02 +07:00
key: application-key
repoPasswordSecretRef:
name: backblaze-credentials
key: repo-password
backup:
schedule: '0 8 * * *'
failedJobsHistoryLimit: 2
successfulJobsHistoryLimit: 2
# TODO
#promURL: https://prometheus:8443
check:
schedule: '0 1 * * 1'
#promURL: https://prometheus:8443
prune:
schedule: '0 1 * * 0'
retention:
keepLast: 5
keepDaily: 14