mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-05 13:08:52 +07:00
33 lines
769 B
YAML
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
|