Skip to main content

Managed PostgreSQL (Planned)

Purpose: For platform engineers, explains the planned scope for Managed PostgreSQL including operator selection and backup/restore model.

Status

openCenter Managed PostgreSQL is planned for preview in Q2 and GA in Q3, following the sequencing defined in ADR-004. Managed Kafka ships first (Q1 GA) because its support boundary is easier to define and its blueprint fit is stronger. PostgreSQL follows once the stateful service framework and operational procedures are proven with Kafka.

This document describes the intended scope. Details may change during design partner validation.

Why PostgreSQL

PostgreSQL is the most requested transactional database across openCenter's customer base. Application teams need a managed relational database for:

  • Application backends (CRUD workloads, session state, configuration storage)
  • Internal platform services that require SQL (Keycloak, Harbor, custom tooling)
  • Reporting and analytics queries against operational data
  • Microservice data stores where each service owns its schema

PostgreSQL is a strong second service because demand is high and the operator ecosystem is mature. The risk is that buyer expectations tend toward "DBA as a service" — customers may expect the platform team to own query performance, schema design, and migration support. The support boundary must be explicit from day one.

Planned Blueprint Scope

Included in v1

ComponentNotes
PostgreSQL operatorOperator selection in progress (candidates: CloudNativePG, Zalando postgres-operator)
HA cluster topologyPrimary + streaming replicas; automatic failover
TLS encryptioncert-manager integrated, mandatory in transit
AuthenticationPassword-based (SCRAM-SHA-256) and certificate-based
Automated backupsScheduled base backups + continuous WAL archiving
Point-in-time recoveryRestore to any point within the retention window
MonitoringPrometheus metrics via postgres_exporter, Grafana dashboards
GitOps lifecycleDeclarative CRDs managed through FluxCD
Air-gap packagingImages mirrored through Harbor

Not included in v1

FeatureReason
Logical replicationAdds complexity; defer to add-on
Connection pooling (PgBouncer)May be included if operator supports it natively; otherwise add-on
Custom extensionsSupport matrix too broad; only default extensions
Multi-master / active-activeNot viable for v1 support model
ShardingOut of scope for blueprint model
DBA services (query tuning, schema review)Professional services only

Operator Selection

Two operators are under evaluation:

OperatorStrengthsConcerns
CloudNativePGActive community, clean CRD design, built-in backup to object storage, Kubernetes-nativeYounger project; fewer production references at scale
Zalando postgres-operatorBattle-tested at Zalando scale, Patroni-based HA, connection pooling built inMore complex CRD surface, tighter coupling to Patroni internals

Selection criteria (weighted by openCenter priorities):

  1. CRD stability and upgrade path
  2. Backup/restore reliability and automation
  3. Air-gap compatibility (no external cloud dependencies)
  4. Observability integration (Prometheus metrics, log format)
  5. Community health and release cadence
  6. Fit with GitOps declarative management

The operator decision will be finalized during Q2 design partner work.

Backup and Restore Model

Backup is a core requirement — not an add-on. The v1 blueprint will include:

  • Scheduled base backups — full cluster backup on a configurable schedule (default: daily)
  • Continuous WAL archiving — write-ahead logs shipped to a backup target for point-in-time recovery
  • Backup target — object storage (MinIO in air-gap, S3-compatible in connected environments) or persistent volume
  • Retention — configurable retention window (default: 7 days of PITR capability)
  • Restore procedure — documented runbook for restoring to a new cluster from backup

Restore testing is a shared responsibility: openCenter validates the platform restore procedure works; customers validate that their application-level recovery (data integrity, schema state) meets their requirements.

Shared Responsibility

The same model as Managed Kafka applies:

  • openCenter owns: PostgreSQL deployment, operator lifecycle, HA failover, backup execution, monitoring, patching, certificate rotation
  • Customer owns: schema design, query performance, data modeling, application connection management, data classification, retention business decisions
  • Shared: capacity planning, DR objectives, restore validation, upgrade scheduling

Namespace and Naming

Following the naming standards:

ItemValue
Product nameopenCenter Managed PostgreSQL
Blueprint namemanaged-postgresql-v1
Namespacedata-postgresql
CRD namesOperator-specific (TBD)

Dependencies

Managed PostgreSQL will use the same platform services as Managed Kafka:

  • cert-manager for TLS certificates
  • Prometheus + Grafana for monitoring (via postgres_exporter)
  • Loki for log aggregation
  • Harbor for image mirroring
  • Kyverno for pod security enforcement
  • FluxCD for GitOps reconciliation
  • SOPS for secret encryption in Git

Timeline

MilestoneTargetGate
Operator selection finalizedQ2 startEvaluation complete, CRD stability confirmed
Design partner deploymentQ21 customer running non-prod PostgreSQL
Backup/restore runbook validatedQ2 endSuccessful restore drill documented
GA releaseQ3Runbooks, SLOs, alert set, and support boundary documented

Further Reading