File tree Expand file tree Collapse file tree 9 files changed +92
-0
lines changed
Expand file tree Collapse file tree 9 files changed +92
-0
lines changed Original file line number Diff line number Diff line change @@ -23,3 +23,12 @@ targetCustomizations:
2323 - manke
2424 kustomize :
2525 dir : overlays/manke
26+ - name : yagan
27+ clusterSelector :
28+ matchExpressions :
29+ - key : management.cattle.io/cluster-display-name
30+ operator : In
31+ values :
32+ - yagan
33+ kustomize :
34+ dir : overlays/yagan
Original file line number Diff line number Diff line change 1+ apiVersion : k8up.io/v1
2+ kind : Schedule
3+ metadata :
4+ name : backup-sasquatch-pvc
5+ namespace : sasquatch
6+ spec :
7+ backup :
8+ schedule : 0 10 * * *
9+ labelSelectors :
10+ - matchExpressions :
11+ - key : k8up.io/backup-target
12+ operator : In
13+ values :
14+ - " true"
15+ failedJobsHistoryLimit : 2
16+ successfulJobsHistoryLimit : 2
17+ prune :
18+ schedule : 0 10 * * *
19+ retention :
20+ keepLast : 7
21+ backend :
22+ repoPasswordSecretRef :
23+ name : k8up-s3-credentials
24+ key : restic_password
25+ s3 :
26+ endpoint : s3.gaw.ls.lsst.org
27+ bucket : yagan-k8up
28+ accessKeyIDSecretRef :
29+ name : k8up-s3-credentials
30+ key : access_key
31+ secretAccessKeySecretRef :
32+ name : k8up-s3-credentials
33+ key : secret_key
Original file line number Diff line number Diff line change 1+ resources :
2+ - backup-daily.yaml
Original file line number Diff line number Diff line change @@ -40,3 +40,13 @@ targetCustomizations:
4040 helm :
4141 valuesFiles :
4242 - overlays/manke/values.yaml
43+ - name : yagan
44+ clusterSelector :
45+ matchExpressions :
46+ - key : management.cattle.io/cluster-display-name
47+ operator : In
48+ values :
49+ - yagan
50+ helm :
51+ valuesFiles :
52+ - overlays/yagan/values.yaml
Original file line number Diff line number Diff line change 1+ k8up :
2+ envVars :
3+ - name : BACKUP_S3_ENDPOINT
4+ value : s3.gaw.ls.lsst.org
5+ - name : BACKUP_GLOBALACCESSKEYID
6+ valueFrom :
7+ secretKeyRef :
8+ name : k8up-s3-credentials
9+ key : access_key
10+ - name : BACKUP_GLOBALSECRETACCESSKEY
11+ valueFrom :
12+ secretKeyRef :
13+ name : k8up-s3-credentials
14+ key : secret_key
15+ - name : RESTIC_PASSWORD
16+ valueFrom :
17+ secretKeyRef :
18+ name : k8up-s3-credentials
19+ key : restic_password
20+
21+ timezone : America/Santiago
22+
23+ resources :
24+ limits :
25+ memory : 4Gi
26+ requests :
27+ cpu : 2
28+ memory : 4Gi
29+
30+ metrics :
31+ serviceMonitor :
32+ enabled : true
33+ additionalLabels :
34+ lsst.io/monitor : " true"
Original file line number Diff line number Diff line change 1+ ../../../../lib/k8up
Original file line number Diff line number Diff line change 1+ ../../../../lib/k8up-crds
Original file line number Diff line number Diff line change 1+ ../../../../lib/k8up-post
Original file line number Diff line number Diff line change 1+ ../../../../lib/k8up-pre
You can’t perform that action at this time.
0 commit comments