All checks were successful
CI/CD / Test (push) Successful in 1m21s
CI/CD / Lint (push) Successful in 1m13s
CI/CD / Integration Tests (push) Successful in 52s
CI/CD / Native Engine Tests (push) Successful in 50s
CI/CD / Build Binary (push) Successful in 46s
CI/CD / Test Release Build (push) Successful in 1m19s
CI/CD / Release Binaries (push) Has been skipped
- Remove non-existent helm/ directory reference - Remove non-existent terraform/gcp/ directory reference - Add actual kubernetes files: pvc.yaml, secret.yaml.example, servicemonitor.yaml - Add prometheus/ directory with alerting-rules.yaml and scrape-config.yaml - Remove Helm chart install example from kubernetes README
853 B
853 B
dbbackup Kubernetes Deployment
Kubernetes manifests for running dbbackup as scheduled CronJobs.
Quick Start
# Create namespace
kubectl create namespace dbbackup
# Create secrets
kubectl create secret generic dbbackup-db-credentials \
--namespace dbbackup \
--from-literal=password=your-db-password
# Apply manifests
kubectl apply -f . --namespace dbbackup
# Check CronJob
kubectl get cronjobs -n dbbackup
Components
configmap.yaml- Configuration settingssecret.yaml- Credentials template (use kubectl create secret instead)cronjob.yaml- Scheduled backup jobpvc.yaml- Persistent volume for backup storageservicemonitor.yaml- Prometheus ServiceMonitor (optional)
Customization
Edit configmap.yaml to configure:
- Database connection
- Backup schedule
- Retention policy
- Cloud storage