OpenProject high availability

Running OpenProject on Kubernetes with Helm means splitting the application, PostgreSQL, attachments and backups into parts that can each fail safely. This page shows the decisions, build order, checks and handover needed to decide whether to build it in-house or with a partner.

On this page

What OpenProject high availability requires beyond running more pods

High availability for OpenProject is a property of the whole stack, not only of the replica count. The application pods, the PostgreSQL database, the shared attachment storage, the ingress in front of them and the backup and restore path all have to survive a node, database or zone failure for planners and work-package owners to keep working. OpenProject supports Kubernetes with Helm charts for horizontal scaling, but a chart that starts three application pods has not, by itself, solved any of the hard parts. Before you commit to a design, confirm in the current release documentation which topology the chart supports and which stateful dependencies it expects you to bring, such as an external PostgreSQL service or a shared volume. Treat those answers as the baseline for your architecture review.

The three hard parts are database failover, consistent attachment storage across pods and restores that have been tested end to end. Application pods are stateless only if every pod reads and writes attachments from the same storage, so confirm how the chart mounts that storage, whether the volume supports the access mode your replicas need, and how it behaves when a zone is lost. For PostgreSQL, decide who owns failover: a managed service, an operator, or your database team. Verify that the required extensions (pg_trgm, btree_gist and unaccent) are present on the promoted instance, because a failover that succeeds at the database layer but leaves the application unable to start is still an outage. Write down the recovery point and recovery time you expect from each layer, and test them.

Release cadence adds an operational requirement that is easy to underestimate. OpenProject ships frequent minor releases in the 17.x line, so upgrades will recur throughout the life of the platform. Rehearse each upgrade on a copy of the HA setup, including the database migration step, rolling restarts of the application pods and a restore from the most recent backup, before you apply it to production. Ask your implementation partner or internal team to document the rollback path for each release, and confirm with the vendor whether a given release changes PostgreSQL requirements. A high availability design that has never been upgraded or restored under test is a design you have not yet verified.

Which OpenProject components need redundancy and why

An OpenProject high availability design is only as strong as its weakest component. The cards below cover the stateless application tier, background jobs, the database, shared attachments, the TLS entry point and backups, and what users experience when each one fails.

Application pods serving web and API

The stateless pods run the web UI and the REST API, and they can be added or removed behind a load balancer. Losing one pod usually means a few failed requests that retry on another pod, but losing all of them takes OpenProject offline. Confirm your Helm chart's replica count, readiness probes and session handling so a pod restart does not log users out mid-edit.

Users in top sizing tier
1,500
System requirements

Background worker processes

Worker processes handle queued jobs such as email notifications, exports and some integration syncs. They are stateless, but their queue lives in the database, so a stalled worker delays work without an obvious error on screen. Plan at least two worker replicas, and monitor queue depth so a silent backlog does not go unnoticed.

PostgreSQL as system of record

PostgreSQL holds every work package, project, user and permission, so it is the component that cannot be rebuilt from other copies. OpenProject supports PostgreSQL 16 or later and requires the pg_trgm, btree_gist and unaccent extensions. Confirm these extensions install and load on your managed or self-run database before the design is final, and decide who owns failover and point-in-time recovery.

PostgreSQL requirements

Shared attachment storage

Uploaded files and attachments must be readable by every application and worker pod, so they cannot sit on a single pod's local disk. Use shared storage that all pods mount, and confirm its availability and performance under your expected upload volume. If attachments are stored on a different system than the database, backups must cover both, or a restore will leave records pointing at missing files.

Ingress and TLS termination

The ingress or load balancer receives every user request, terminates TLS and routes traffic to healthy pods. It is a single point of failure unless you run redundant controllers or a managed load balancer across zones. Confirm certificate renewal, the forwarded headers OpenProject expects and session affinity settings before go-live.

Backup storage and restore testing

Backups are the last line of recovery and must be stored apart from the failing cluster. A backup that has never been restored is an assumption, not a recovery plan. Schedule regular restore tests into a separate environment that includes the database and attachment storage together, and record how long a restore actually takes.

Which HA decisions change cost and day-to-day operations

This table compares the main high availability decisions for a self-hosted OpenProject setup on Kubernetes, with the operational load each option adds. Read each row as a question to settle before quoting or building, and note which choices are one-time design work and which keep recurring after go-live.

DecisionOptionWhen it fits and what it costs operationally
PostgreSQLSelf-run PostgreSQL with replication and failover toolingFits teams with database operations skills and a need to keep data in-cluster. Ongoing work covers replication lag checks, failover drills, minor version patching and pg_trgm, btree_gist and unaccent extension checks on PostgreSQL 16 or later.
PostgreSQLManaged PostgreSQL service in the client's cloudFits teams that want the provider to handle backups, failover and patching. The cost is the provider's service fee and a dependency on its version support. Confirm that the service allows the three required extensions and PostgreSQL 16 or later.
Attachment storageShared network file systemFits environments with an existing NFS or similar service that all replicas can mount. Operational load includes permissions, latency tuning and capacity growth. Confirm which access modes the chart and your storage class support.
Attachment storageObject storageFits environments with an S3-compatible service inside the client's infrastructure. Operational load includes credentials rotation, bucket lifecycle and backup of the bucket. Confirm the chart's supported storage backends before choosing.
Cluster topologyOne cluster spread across zonesFits organizations with low-latency zones and a single operations team. Operational load centers on zone failure drills and storage that survives a zone loss. Confirm the storage class behavior per zone.
Cluster topologySeparate clusters per site with a restore planFits organizations that need site independence or stricter separation. Operational load includes keeping two deployments aligned, replicating data and rehearsing restores into the secondary site.
Configuration managementHelm values managed in GitOpsFits teams that already run GitOps. Upfront work is storing values, secrets references and PostgreSQL settings in version control. Ongoing work is reviewing chart and image changes before they reach production.
Configuration managementManual Helm upgradesFits small teams with few environments. Risk grows with each release, because values drift between environments and rollback steps depend on individual memory. Record every upgrade in a runbook.
Ownership modelCommunity edition with the client's team owning HANo license fee for the software. The client's team owns on-call, upgrades, backup testing and incident response, and community support is the only vendor channel. Check current edition differences on the pricing page.
Ownership modelEnterprise plan with vendor supportAdds vendor support for the platform on top of the client's own operations. Confirm in writing which support channels, response scope and upgrade help come with the plan. Edition prices and minimums are on the pricing page.

How to build the HA stack in the right order

This sequence takes a team from a confirmed Kubernetes and PostgreSQL baseline to a tested OpenProject deployment where pods, data and backups can each survive a failure. Each step ends with a check so that a problem is caught before the next layer depends on it.

  1. Confirm the target platform and chart version

    Start by checking the OpenProject system requirements for the Kubernetes version, Helm chart version and PostgreSQL version your environment must support. Record the exact chart version and the matching OpenProject image tag in your change record, since the chart and image should move together. Your platform team confirms that the cluster, storage classes and ingress controller meet those requirements. Done means a written support matrix that the infrastructure and application owners have both signed off, with the chart version pinned in version control.

  2. Provision PostgreSQL 16 with replication

    Build a PostgreSQL 16 or later cluster with a primary and at least one streaming replica, using whatever high availability tooling your database team already operates. OpenProject requires the pg_trgm, btree_gist and unaccent extensions, so install them in the OpenProject database before the application starts. Confirm the result with a query such as SELECT extname FROM pg_extension; run against the primary, and check that the replica reports the same extensions after replication catches up. Done means all three extensions appear on the primary and the replica is streaming with no lag your team has agreed to accept.

  3. Set up shared attachment storage

    Attachments must be readable and writable from every OpenProject application pod, so choose a shared storage backend that supports concurrent read-write access from multiple nodes and confirm it with your storage team. Mount it into the chart's attachment path and keep it on a separate volume from the database. Verify access by writing a test file from one pod and reading it from a second pod on a different node. Done means the test file is returned intact from the second pod, and the storage class and access mode are recorded for the backup plan.

  4. Deploy the Helm release with sized resources

    Install the OpenProject Helm chart with replica counts, resource requests and limits, Kubernetes secrets and ingress settings. Size requests from the sizing guide: 4 cores and 4 GB RAM for up to 200 users, 8 cores and 8 GB for about 500 users, and 16 cores and 16 GB for about 1,500 users. Store the database credentials, secret key and SMTP settings in your secret manager rather than in values files committed to the repository. Done means all application pods reach the Ready state and a login through the ingress hostname succeeds over TLS.

  5. Configure health probes and disruption budgets

    Set liveness and readiness probes so that Kubernetes only routes traffic to pods that can serve requests, and set a startup probe so slow first boots are not killed. Create a pod disruption budget that keeps at least one application pod available during voluntary node maintenance. Confirm the probe endpoints against the chart documentation for your release. Done means a readiness failure removes a pod from the service endpoints in your test cluster, and the disruption budget appears in the cluster with the expected minimum available count.

  6. Schedule backups for database and attachments

    Create scheduled backup jobs for the PostgreSQL database and the attachment volume, and store copies outside the cluster and outside the failure domain of the primary database. Take the database dump or base backup and the attachment snapshot or copy as a matched pair, so they represent the same point in time. Record the schedule, retention period and encryption method in the runbook. Done means a backup job completes, the artifact is listed in the external backup store, and its size and timestamp match what the job log reports.

  7. Run failover and restore tests

    Test the stack under failure before users depend on it. Drain a worker node while a test user is logged in and confirm the session survives or recovers cleanly and that a work package saves. Promote the database replica or kill the primary in a test environment, then confirm OpenProject reconnects. Restore the latest backup into a separate namespace, open a restored attachment and compare its checksum with the original. Done means each test has a written result, every failure has an owner and a fix, and the restore test completes within the recovery time your team has agreed to.

How the HA parts connect in a Kubernetes cluster

The diagram starts with users reaching a TLS-terminating ingress outside the cluster boundary, which routes requests to several OpenProject application pods and a separate worker group. Both groups read and write shared attachment storage and use a primary PostgreSQL database with a standby. Backups leave the cluster from the database and the attachment storage into a separate backup target in its own trust zone. Check where TLS terminates, which storage class backs shared attachments, and whether your chart runs workers as distinct deployments. Confirm each resource name against the Helm chart version you intend to deploy.

Request, data and backup paths across the user network, cluster and backup target.

How the HA design changes by environment

Managed Kubernetes in a public cloud gives you the most options for the shared components, but each choice still needs confirmation. The application pods run on the provider's node pools, while attachments and the database often sit in services the provider operates. The design question is which of those services you trust for failover and restore, and whether each one meets the requirements OpenProject sets for PostgreSQL and storage.

  • Shared attachment storage: Attachments must be readable and writable from every OpenProject pod. Check that the storage class you choose supports shared access across nodes before you rely on it for scaling.
  • Database failover: A managed PostgreSQL service with automated failover can reduce operational work. Confirm the version is 16 or later and that the pg_trgm, btree_gist and unaccent extensions can be enabled.
  • Image supply: Pull images and charts from a registry in your own cloud account, so node scaling does not depend on public registries.
  • Backup and restore: Combine provider snapshots of volumes with logical database backups, and restore into a separate account or project at least once.

Before you commit, ask your platform team and the vendor whether the chart version you plan to run is tested on your managed Kubernetes version, and whether the managed database's failover behavior matches your recovery targets.

What drives the effort and cost of an HA build

This table lists the factors that make an OpenProject high availability build larger or smaller, with the effect of each and how to keep it contained. Read the first half for one-time build work and the second half for items that recur through upgrades and restore tests. The main takeaway is that user count, attachment volume and compliance evidence set most of the work, so settle them before comparing quotes.

DriverHow it raises effortHow to keep it down
User count and sizing tierThe sizing guide gives 4 cores and 4 GB RAM for up to 200 users, 8 cores and 8 GB for about 500 users, and 16 cores and 16 GB for about 1,500 users. Higher tiers mean more node capacity, more database load and more load testing.Confirm the user count and growth expectation in writing, then size to the tier that matches it. Ask the partner to show the sizing assumptions in the quote.
Attachment volume and retentionLarge attachment stores need shared storage that every web pod can reach, with its own backup, restore and growth planning. Long retention multiplies the data each restore test must cover.Agree attachment size estimates and a retention period before design. Choose a storage class the team already operates and can snapshot.
Number of environmentsProduction, staging and disaster recovery each need their own cluster or namespace, database, storage and secrets. Each environment must be kept at the same OpenProject version and Helm values.Limit disaster recovery to what the recovery objectives require. Use one Helm values set with per-environment overrides to avoid drift.
Integrations such as SSO and the Nextcloud linkSSO through an identity provider needs callback URLs, certificates and group mapping per environment. The Nextcloud link adds a second system to test during restores. SSO for the Nextcloud integration is an Enterprise add-on.Confirm which integrations are in scope and their edition needs before design. Test each integration in staging as part of every release check.
Compliance requirements for backup evidence and access logsAssessors may ask for backup schedules, restore test records, access logs and change records. Producing that evidence means extra logging, retention and documentation work, and it must be repeated for each review cycle.Ask the assessor which evidence formats they accept. Build evidence collection into the restore test runbook so records are produced as a by-product.
Customization of the Helm valuesHeavy custom values, overrides and custom images make each upgrade a manual merge and each chart change a review. Undocumented changes are the usual cause of failed upgrades.Keep overrides small and documented. Store values in version control and review every chart change against them before upgrading.
Team's existing Kubernetes and database skillsTeams new to Kubernetes operators, PostgreSQL failover and storage classes need more build time and more outside support. Gaps show up first during failover and restore events.Name the owners for cluster, database and backup before build starts. Pair the partner with the team on the first restore test so the skills stay in house.
One-time build workCluster and storage setup, PostgreSQL high availability design, Helm value design, load and failover testing, and the first backup and restore test.Reuse existing cluster patterns, freeze the design early and write the runbooks during the build rather than after it.
Recurring work in upgrades and restore testsOpenProject ships frequent minor releases, so each upgrade needs a staging run, chart review, database checks and rollback planning. Restore tests repeat on a schedule and whenever the backup set changes.Set a fixed upgrade cadence and a restore test schedule. Ask whether the support plan covers upgrades or whether they stay with the team.

How to secure secrets, access and data in an HA setup

A highly available OpenProject install multiplies the places where credentials, traffic and backups can leak. The cards below cover the controls that connect the application pods, the PostgreSQL database, the shared attachment volume and the backup chain, and what to confirm in each setting before go-live.

Keep credentials out of values files

Store the PostgreSQL credentials and the OpenProject secret key in a secrets manager and inject them into pods at runtime, rather than writing them into Helm values files or version control. Confirm in the current OpenProject chart documentation which key names the chart reads for the database password and the secret key, and whether it can reference an existing Kubernetes Secret instead of creating one from plain values. Rotating the secret key later can invalidate existing sessions, so plan that change.

System requirements

Limit pod-to-database traffic

Write Kubernetes network policies so that only the OpenProject application and worker pods can open connections to the PostgreSQL service, and deny other ingress to the database namespace by default. Confirm that your cluster's network plugin enforces NetworkPolicy objects, since some setups accept the objects without enforcing them. Also check whether backup jobs and monitoring agents need their own explicit allow rules.

Encrypt traffic at ingress and to PostgreSQL

Terminate TLS at the ingress controller with certificates managed by your standard process, and redirect plain HTTP. Then decide whether connections from OpenProject pods to PostgreSQL must be encrypted in transit, which depends on the database platform and the client settings the chart exposes. Confirm the PostgreSQL SSL mode and certificate verification options against the PostgreSQL and OpenProject documentation for your versions, rather than assuming the defaults protect the link.

Supported PostgreSQL
16 or later

Restrict access to the shared attachment volume

Attachments live on shared storage that every OpenProject pod mounts, so a permissive file mode or an overly broad volume claim exposes project files to any workload in the namespace. Limit the claim to the OpenProject workloads, set the mount to the user the container runs as, and confirm the storage class supports the access mode the replicas need. Ask your storage team who can read the underlying volume outside Kubernetes.

Scope backup storage and its credentials

Backups contain the database, attachments and configuration, so the backup bucket or share is as sensitive as production. Enable encryption at rest, restrict write access to the backup job and read access to a small restore group, and set retention and deletion rules that match your policy. Confirm how the backup tooling you choose handles encryption keys, since losing the key makes the backup unusable.

Use least-privilege service accounts and cluster admin roles

Run backup and restore jobs under dedicated Kubernetes service accounts with only the verbs and secrets they need, and do not reuse the application service account. Limit who holds cluster-admin and who can run helm upgrade or helm rollback on the OpenProject release, and log those actions. Review role bindings after each platform change and confirm the scope of each role against your Kubernetes version's RBAC documentation.

How to test that OpenProject fails over and restores correctly

Start by agreeing recovery targets with the business owner before any test runs. The team needs a written recovery time objective and a recovery point objective for work packages, attachments and user data, because the test pass criteria come from those numbers, not from whether the pods come back. Once the targets are fixed, run the failover tests against a staging copy of the same Helm chart values used in production, so that replica counts, probes, storage classes and PostgreSQL topology match what will actually fail. Record the chart version, OpenProject image tag and PostgreSQL version in the test log before the first run.

Run the pod-level tests first. Delete one OpenProject web pod while a tester is actively editing a work package, and confirm that the session recovers or that the user gets a clear error and no partial save is lost. Then drain a worker node while a scheduled job, such as a notification or attachment cleanup run, is executing, and check that the job either completes on another node or restarts cleanly and does not run twice. For the attachment path, write and read a test file from every OpenProject pod, which confirms that all pods see the same shared storage backend and that no pod is serving a stale or local copy.

The database test carries the most risk. Trigger a PostgreSQL primary failover and record which writes were acknowledged to users before the switch. Then compare those writes with what the new primary holds. With asynchronous replication, a short window of acknowledged writes can be lost, so the test pass condition must match the replication mode you chose, not an assumption of zero loss. Confirm the replication mode and the pg_trgm, btree_gist and unaccent extensions on the promoted replica, because a failed-over database without them will break the application even though it is running. Finally, run a full restore from the latest backup into an isolated namespace and check work package counts, a sample of attachments by checksum, and that a test user can log in with the same permissions. Repeat the restore on a schedule and after every OpenProject upgrade, and write each result down with the date, versions, timings and any deviations as audit evidence.

What to monitor, back up, upgrade and document after go-live

Monitoring covers the signals that show whether the highly available setup is serving users and whether it is drifting toward a failure. The platform team owns the dashboards and alert rules, and the application owner receives alerts about user-facing degradation. Thresholds should be set during the verification phase, using load results from the test environment rather than assumptions, so that alerts are meaningful from the first week of production.

  • Pod health: Track restarts, readiness failures and scheduling problems for the OpenProject web and worker pods, and alert when replicas fall below the count the Helm values define.
  • Database replication lag: Watch lag on the PostgreSQL standby nodes and alert before lag grows to the point where a failover would lose recent work. Confirm the metric names with your PostgreSQL operator.
  • Storage capacity: Monitor free space on the shared attachment volume and its growth rate, since attachments grow with use and expansion may be slow in some environments.
  • Ingress errors: Track 5xx responses and timeouts at the ingress controller, and separate them by path so that attachment uploads and API calls can be investigated on their own.
  • Job queue backlog: Watch the background job queue for growing backlog, which can mean workers are starved or failing, even when the web interface still responds.

Check that alerts reach a named on-call rotation and that each alert links to a runbook entry.

How much effort does an OpenProject high availability build take?

Can our own team build a highly available OpenProject on Kubernetes?

Yes, a capable platform team can build it, provided it already runs Kubernetes, PostgreSQL and shared storage in production. OpenProject supports Kubernetes with Helm charts for horizontal scaling, so the application layer is documented, but the surrounding pieces are your responsibility: a highly available PostgreSQL cluster, shared attachment storage, ingress, certificates, monitoring and backups. Ask whether your team has someone who has already run each of those components under load and has restored a database from backup in a test. If one of those skills is missing, that gap is where most schedules slip.

How does user count change the effort for an OpenProject HA build?

The effort depends on user count, number of environments and data volume, so there is no fixed figure that applies to every organization. OpenProject's sizing guide suggests 4 cores and 4 GB RAM for up to 200 users, 8 cores and 8 GB for about 500 users, and 16 cores and 16 GB for about 1,500 users, which sets the node sizes and replica counts you will test. Larger attachment volumes, more integrations and stricter recovery targets add work to storage and backup design. Each extra environment, such as staging and a restore test copy, roughly repeats the install and verification work.

What does the client need to provide for this work?

The client provides access and decision-makers, not just tickets. You need Kubernetes cluster access with rights to create namespaces, secrets, persistent volume claims and Helm releases, plus a database administrator who owns PostgreSQL and can approve extensions. Storage and identity owners must confirm the shared attachment backend and how users sign in, and a named restore approver must sign off on recovery tests. Without that last role, backups are never proven and the project ends with an untested recovery plan.

Is the Community edition enough to run OpenProject in high availability?

The Community edition is free and includes work packages, Gantt charts, agile boards, time tracking and dashboards, with community support. High availability is driven by your infrastructure design rather than by the license tier, so the architecture can be built on Community. What changes with Enterprise is the feature set: single sign-on through SAML, OIDC, CAS, Kerberos or Okta, LDAP group synchronization and custom branding are Enterprise features, and the on-premises Enterprise plans are priced per named user per month. Confirm which identity features your organization requires before you choose the edition, because that decision affects the authentication design in the cluster.

What does a partner add to an HA build, and what stays with our team?

A partner typically plans the target architecture, implements the Helm deployment, configures PostgreSQL with the required extensions, sets up shared storage and backups, runs restore tests and writes the runbooks. Your team keeps ownership of the cluster, the identity provider, the data classification decisions and the operational on-call process after handover. Ask the partner to state in writing which parts they hand over as working systems and which they only document. The split should be visible in the scope, not inferred from a sales conversation.

How long does an OpenProject HA build take?

Duration depends on scope, the number of environments, how many integrations are in play and how quickly your teams provide access and approvals. Do not assume a duration from a generic estimate or from another organization's project. Ask for a written plan that lists each phase, its entry and exit criteria, the client dependencies and the date each restore test will be run. A plan that only gives an end date without those dependencies is not something you can hold anyone to.

What should we ask for in a quote for this work?

Ask for the scope in writing, including the target architecture, the list of environments and the components covered, such as PostgreSQL, attachment storage, ingress and backups. Request the test evidence you will receive, for example failover test results, a timed restore from backup and the acceptance criteria they were measured against. Also ask for handover documents: architecture diagram, runbooks, configuration inventory, upgrade steps and an operations checklist. Finally, confirm who approves changes to scope and how any client dependency that slips is reflected in the timeline.

How DeployOpen scopes, builds and hands over OpenProject HA

DeployOpen plans, implements, hardens, backs up and documents self-hosted open-source platforms inside the client's own infrastructure, and OpenProject high availability follows the same method. Engagements are fixed-scope, with scope and deliverables agreed in writing before any build work starts.

How we scope

  • Confirm the target platform: Kubernetes cluster, Helm chart version, and the cloud, data center or air-gapped environment that will host OpenProject.
  • Size the web, worker and PostgreSQL tiers against the expected named user count and concurrent activity, with the sizing basis written down.
  • Agree in writing which failure scenarios are in scope, such as node loss, database failover and restore from backup, and which are excluded.

How we build

  • Deploy OpenProject with Helm for horizontal scaling, with resource requests, probes and pod placement configured for the agreed topology.
  • Set up highly available PostgreSQL with the pg_trgm, btree_gist and unaccent extensions enabled, and verify the PostgreSQL version against the supported release.
  • Configure shared attachment storage and run documented backup and restore tests, recording recovery steps and the time each one took in your environment.

How we hand over

  • Deliver architecture diagrams, Helm values files, runbooks for failover and restore, and a record of every test run with its result.
  • Walk your platform, security and operations staff through failover drills so the team can repeat them without DeployOpen present.
  • Provide a list of open items, upgrade prerequisites and release-specific checks for your next OpenProject minor version.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, scoped separately from the original build.
  • Retest failover and restore procedures after OpenProject upgrades, PostgreSQL version changes or infrastructure changes, and report findings with fixes.
  • Confirm with your team which support duties stay in-house and which move to a retainer, so responsibilities are clear from the first day.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.