khuedoan-homelab/system/k8up-operator/schedule.yaml
2022-01-03 23:34:42 +07:00

33 lines
769 B
YAML

apiVersion: k8up.io/v1
kind: Schedule
metadata:
name: schedule-test
spec:
backend:
s3:
endpoint: s3.us-west-002.backblazeb2.com
bucket: khuedoan-homelab-backup
accessKeyIDSecretRef:
name: backblaze-credentials
key: application-key-id
secretAccessKeySecretRef:
name: backblaze-credentials
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