Compare commits

..

2 commits

Author SHA1 Message Date
ec0d71af65 Update dashboard Prometheus ( 5 → 6 ) 2024-11-27 22:34:32 +00:00
65022cdf10
testing restore/backup 2024-11-27 16:24:31 -06:00
3 changed files with 36 additions and 6 deletions

View file

@ -8,9 +8,22 @@ spec:
mariaDbRef:
name: mariadb
timeZone: "America/Chicago"
schedule:
cron: "0 * * * *"
suspend: false
# schedule:
# cron: "0 * * * *"
# suspend: false
stagingStorage:
persistentVolumeClaim:
storageClassName: openebs-hostpath
resources:
requests:
storage: 6Gi
accessModes:
- ReadWriteOnce
podSecurityContext:
runAsUser: 568
runAsGroup: 568
fsGroup: 568
fsGroupChangePolicy: OnRootMismatch
storage:
s3:
endpoint: s3.hsn.dev

View file

@ -11,9 +11,9 @@ spec:
storage:
size: 5Gi
storageClassName: openebs-hostpath
bootstrapFrom:
backupRef:
name: mariadb-backup
# bootstrapFrom:
# backupRef:
# name: mariadb-backup
maxScale:
enabled: true
kubernetesService:

View file

@ -0,0 +1,17 @@
---
# yaml-language-server: $schema=https://ks.hsn.dev/k8s.mariadb.com/restore_v1alpha1.json
apiVersion: k8s.mariadb.com/v1alpha1
kind: Restore
metadata:
name: restore
spec:
mariaDbRef:
name: mariadb
namespace: database
backupRef:
name: mariadb-backup
podSecurityContext:
runAsUser: 568
runAsGroup: 568
fsGroup: 568
fsGroupChangePolicy: OnRootMismatch