Files
dbbackup/deploy/kubernetes/README.md
Alexander Renz 7c60b078ca
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
docs(deploy): fix README to match actual directory structure
- 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
2026-01-31 08:14:48 +01:00

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 settings
  • secret.yaml - Credentials template (use kubectl create secret instead)
  • cronjob.yaml - Scheduled backup job
  • pvc.yaml - Persistent volume for backup storage
  • servicemonitor.yaml - Prometheus ServiceMonitor (optional)

Customization

Edit configmap.yaml to configure:

  • Database connection
  • Backup schedule
  • Retention policy
  • Cloud storage