Skip to content

Commit 8c4dcd6

Browse files
committed
feat(mariadb): Add S3 bootstrap configuration for backups and recovery
1 parent 8cf904f commit 8c4dcd6

File tree

1 file changed

+15
-0
lines changed
  • infrastructure/clusters/feather-core/configs/mariadb-galera

1 file changed

+15
-0
lines changed

infrastructure/clusters/feather-core/configs/mariadb-galera/mariadb.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,21 @@ spec:
2424
# When draining Nodes, make sure that you have at least 2 Pods available.
2525
podDisruptionBudget:
2626
maxUnavailable: 66%
27+
bootstrapFrom:
28+
s3:
29+
bucket: mariadb-galera-backup
30+
prefix: backups
31+
endpoint: s3.onelite.feather:7480
32+
accessKeyIdSecretKeyRef:
33+
name: mariadb
34+
key: access-key-id
35+
secretAccessKeySecretKeyRef:
36+
name: mariadb
37+
key: secret-access-key
38+
tls:
39+
enabled: false
40+
backupContentType: Physical
41+
targetRecoveryTime: 2025-09-22T18:00:00Z
2742

2843
# Ensure that the Pods are not preempted by Kubernetes to make room for new scheduled Pods.
2944
priorityClassName: system-node-critical

0 commit comments

Comments
 (0)