PostgreSQL Operator (PGO) Deployment Guide
Why PGO over Bitnami?
| Feature | Bitnami | PGO (Crunchy Data) |
|---|---|---|
| High Availability | ❌ Manual failover | ✅ Automatic failover (<10s) |
| Connection Pooling | ❌ Not included | ✅ Built-in PgBouncer |
| Backups | ❌ Manual | ✅ Automated (full, diff, incremental) |
| Point-in-time Recovery | ❌ | ✅ |
| TLS | ❌ Manual | ✅ Auto-generated certificates |
| Monitoring | ❌ | ✅ Prometheus metrics |
| License | Apache 2.0 | Apache 2.0 |
Step 1: Initialize Terraform
cd /path/to/terraform-hcloud-kube-hetzner/aimsgo
terraform init -upgrade
Step 2: Deploy PGO Operator
Without GITHUB_TOKEN (recommended):
terraform plan -target=module.cluster-bootstrap.helm_release.pgo
terraform apply -target=module.cluster-bootstrap.helm_release.pgo
With GITHUB_TOKEN (full plan):
export GITHUB_TOKEN=ghp_xxxxxxxxxxxxxx
terraform plan
terraform apply