openDesk high availability: which parts can run on more than one node
If you need openDesk to survive a node failure without a service outage, first establish which pods can take a second replica. Application pods can run with more than one replica where the scaling documentation allows it, while Community Dovecot and the MatrixRTC SFU behind a LoadBalancer remain single points, and the external data services carry their own redundancy. This page is for the platform engineers and security leads who will sign off the availability design, and for the operators who will run it after go-live. It sets out what can be spread across nodes, what cannot, and which decisions stay with your team.
Availability in practice is set mostly outside the openDesk Helm charts. The Kubernetes cluster must spread nodes across failure domains, the ingress controller and cert-manager must keep working when a node is lost, and your RWO volume provisioner must reattach volumes on another node. Behind the cluster sit the production services openDesk expects you to provide, including PostgreSQL 15, MariaDB 10, Redis 7, Memcached, Cassandra, object storage, an SMTP relay, ClamAV over ICAP and a TURN server. Each needs its own replication or failover design, tested against your runbooks, because an openDesk pod that restarts cleanly does not help if its database is down.
Before you commit to a layout, check the openDesk scaling documentation for the release you will deploy. Replica rules are documented per release, and openDesk supports only the latest minor version, so a design checked against an older release may no longer match. Confirm the Dovecot and MatrixRTC SFU constraints in that document, then ask your vendor which application replica counts apply to your edition. Write the failover runbooks for each single point now: who restarts the Dovecot pod, how the SFU is moved to another node, and how long users can work without mail or calls.
Single points sit beside the redundant tiers, and each one needs its own plan
The diagram starts at the ingress controller and the LoadBalancer, which send web traffic to the openDesk application pods and send call media to the MatrixRTC SFU. The application pods run as several replicas, and the replica count shown is only an example. They depend on external PostgreSQL 15, MariaDB 10, Redis 7, Memcached, object storage and an SMTP relay, which you run and make highly available yourself. Dovecot and the MatrixRTC SFU are drawn as single-replica pods. If a node fails, Kubernetes must reschedule them, and calls or mailbox access stop until it does. Check the scaling notes for each before you commit to an availability target.
Illustrative flow from ingress to application pods, external stores and single-replica pods.
Redundancy choices for each openDesk component
This table compares each openDesk component against the redundancy approach it allows, the trade-off that comes with it, and what to confirm before you commit. Read the rows top to bottom: the external data services and object storage can be made highly available with your own platform tools, while Community Dovecot and the MatrixRTC SFU behind a LoadBalancer remain single points that no replica setting removes. Plan maintenance and recovery around those two components from the start.
| Component | What openDesk expects | Redundancy approach | Trade-off and what to confirm |
|---|---|---|---|
| External PostgreSQL 15 or MariaDB 10 | External production-grade database service that you provide | Replicated cluster with automatic failover on your database platform, outside openDesk | Failover and connection handling sit with your database team. Confirm which database each component uses and the pooling it needs. |
| Redis 7 | External cache service for production | Replicated Redis 7 with automatic failover, if your platform offers it | Confirm which failover topology openDesk's clients support and whether session data depends on the cache surviving a failover. |
| Memcached | External cache service listed for production | Run the cache as a pool that can lose nodes, since Memcached does not replicate data itself | Confirm which data openDesk stores in Memcached and whether losing it degrades users or only performance. |
| Object storage | External storage that openDesk components write to | Use the storage platform's own replication or erasure coding across failure domains | Confirm which buckets each component needs. OX S3 storage is an Enterprise-only feature, so check the backend choice first. |
| Application pods | Workloads whose replica counts you set per component | Raise replica counts for components that can run more than one copy and spread them across nodes | Session-bound components need shared storage or sticky routing. Confirm the replica behavior per component in the scaling doc. |
| Ingress controller | haproxy-ingress or the deprecated Ingress nginx, plus cert-manager | Run more than one controller replica behind a load balancer on separate nodes | Ingress nginx is deprecated, so confirm the controller choice in the requirements doc before you build. |
| Community Dovecot | Single pod that openDesk states cannot be scaled horizontally | No horizontal redundancy. Rely on Kubernetes restarts, reliable storage and a tested restore | Mail access stops during a pod failure. Confirm with ZenDiS whether Enterprise changes this and plan the maintenance window. |
| MatrixRTC SFU behind a LoadBalancer | Single replica, because the LoadBalancer cannot route a call's media to the replica handling it | Keep one replica and plan node recovery and restart procedures in advance | Active calls drop on failure. Confirm alternative routing options and the ingress design in the scaling doc before go-live. |
Which parts stay single and what a failure looks like
Four components decide whether an openDesk deployment keeps working after a node fails. Two of them cannot run more than one copy today, and two depend on how the cluster and edge are laid out. Each card covers the user-visible impact, what the operator must plan and the test to run before go-live.
Community Dovecot runs as one pod
openDesk documents Dovecot as a single pod that cannot be scaled horizontally, so mailbox access has one point of failure. If the node hosting that pod fails, IMAP and POP sessions drop, and clients reconnect only after Kubernetes reschedules the pod onto a healthy node. That reschedule depends on the mailbox volume reattaching, so plan the reattach path with your storage provider and measure how long it takes in your cluster. Before go-live, drain the node carrying the pod, then confirm that mail clients reconnect and that no messages are lost.
Scaling guideMatrixRTC SFU stays at one replica
Behind a LoadBalancer, the MatrixRTC SFU must keep a single replica, because the LoadBalancer cannot route a call's media to the replica handling that call. A node loss therefore ends every active video call on the SFU, and participants must rejoin to reach a new session. Plan for that restart as the failure case, not as a rolling update, and confirm with the release notes how the SFU recovers in your version. Before go-live, host a test call with several participants, drop the node running the SFU, and time how long the rejoin takes.
Scaling guideOne entry point at the edge
All user traffic enters through one LoadBalancer service and the ingress controller, which openDesk requires to be haproxy-ingress or the deprecated Ingress nginx. If the ingress pods or the node carrying them fail, every web application becomes unreachable at once, including chat, files and the portal, even when the back ends are healthy. Run more than one ingress replica across nodes, confirm that load balancer health checks remove a dead backend quickly, and remember that cert-manager certificates and DNS records sit on this same path. Before go-live, stop one ingress pod and then one node, and check that login and file access keep working.
RequirementsCluster node and zone layout
openDesk requires a CNCF-certified Kubernetes cluster at v1.33 or later, and the project tests on kubespray clusters. Placement decides which failures stay survivable: if several replicas of one component share a node, one node loss removes all of them. Use pod anti-affinity or topology spread constraints to spread replicas across nodes and zones, and confirm the cluster has enough spare capacity to reschedule a lost node's pods. Ask ZenDiS or your platform team which zone layout the release was tested with. Before go-live, drain each node in turn and record which pods stop, which move and how long each takes.
RequirementsWhy the external data services carry most of the redundancy
The external data services carry most of the redundancy in an openDesk deployment. For production, openDesk expects the operator to provide PostgreSQL 15, MariaDB 10, Redis 7, Memcached, Cassandra, an SMTP relay, ClamAV over ICAP, object storage and a TURN server. These are production-grade services that sit outside the openDesk release itself. They hold the state and shared sessions the application pods depend on, so the application tier can only be as available as the services beneath it. Before you size the database tier, check the openDesk requirements for your release and confirm with ZenDiS which of these services your version depends on in your configuration. The list describes what openDesk expects in general, so it is not a confirmed dependency map for every deployment.
The ownership split needs to be written down before go-live. The platform team owns the Kubernetes cluster, the Helmfile release, the ingress, the certificates and the openDesk application pods. Each data service owner, whether a database team, a storage team or a mail relay operator, owns the HA design for that service, its replication and failover runbook, its backup schedule and its restore tests. Making this boundary explicit matters because each service needs its own HA design, and the deployment does not supply one. A gap between the two teams will not be covered by any default in openDesk. Create a register with one row per external service that names the owner, the HA mechanism, the backup job, the date of the last restore test and the endpoint openDesk connects to.
The common failure is assuming that multiple openDesk pod replicas make the platform highly available. Pod replicas do not protect a database that has lost its primary. Illustrative example: if the PostgreSQL primary fails and no failover is configured, the application pods keep running, but every feature that reads from that database stops working, and the pods cannot repair that on their own. Ask each service owner to demonstrate a failover test and a restore into a separate environment, and record how long recovery took. Also confirm how each endpoint is addressed. If openDesk points to a fixed hostname or virtual IP, your failover design must keep that address working, and you should test whether openDesk reconnects after a switchover without a pod restart.
Setting up openDesk high availability in order
This sequence takes an openDesk deployment from a release and edition check through the cluster, external services, replica settings and failure testing. Each step closes with a check you can record, so the team knows which parts survive a node loss and which single points need a documented recovery path. The order matters because the external data stores must be highly available before application replicas are scaled.
Confirm the release and edition
The platform lead confirms the openDesk release and edition against the scaling and requirements documents before any infrastructure is ordered. At the time of writing, the latest release is v1.19.1, and only the latest minor version is supported, so the target comes from the current documents, checked against any older runbook. Check whether production will run Enterprise Edition, since ZenDiS recommends it for production and Community Edition is supported only by the community, with no SLA. Done when the release, edition and document revisions are recorded in the design record and signed off by the owner.
Build the Kubernetes cluster and add-ons
The infrastructure team builds a CNCF-certified Kubernetes cluster at v1.33 or later, with nodes spread across separate failure domains and an RWO volume provisioner. The cluster also needs an ingress controller (haproxy-ingress, or the deprecated Ingress nginx), cert-manager, Helm 3.17.3 or later below v4, and Helmfile 1.0.0 or later. openDesk is tested on kubespray clusters, and OpenShift is not a tested platform, so confirm the distribution before the build starts. Verify by listing the nodes and their zones, then creating a test PersistentVolumeClaim and confirming that a pod using it restarts on another node with its volume attached.
Provision highly available external services
The database and platform team provisions the production services openDesk expects you to supply: PostgreSQL 15, MariaDB 10, Redis 7, Memcached, object storage and an SMTP relay. The requirements also list Cassandra, ClamAV over ICAP and a TURN server for production, so confirm which of these apply to your edition and deployment. Each service needs its own replication or failover design, because openDesk does not make these external stores redundant for you. Verify by failing over each service in staging and confirming that openDesk reconnects without a manual change to its configuration.
Set application replica counts from scaling
The platform engineer sets replica counts for the multi-replica application pods using the scaling document, with values taken from the user count and concurrency in the sizing plan. Replica changes go through the Helmfile environment configuration, so they are versioned and reviewed like any other change. Confirm each component's minimum in the scaling document before lowering any value to reduce cost. Verify by running a Helmfile diff against the target environment, then checking after rollout that each Deployment reports the intended number of ready replicas.
Hold single-replica components at one
The platform engineer keeps the MatrixRTC SFU at one replica when it is exposed through a LoadBalancer, because the LoadBalancer cannot route a call's media to the replica handling it. Dovecot runs as a single pod that cannot be scaled horizontally, so its recovery depends on the scheduler restarting it and on its storage reattaching. Record both as accepted single points in the design, with the expected recovery path for each. Verify by confirming that each of these Deployments has one replica set, then checking that a test call and a mailbox login succeed after the pod is moved to another node.
Run node drain and pod restart tests
The platform and operations teams drain one node at a time and delete selected pods to confirm that workloads reschedule and reconnect. Run the tests first on a staging copy of the deployment, then repeat them on production in a window agreed in advance. Test each external service's failover separately, because draining a Kubernetes node does not prove that PostgreSQL or Redis has failed over. Verify by recording the time to recovery and any failed user action for each test, then comparing the results with the targets in the design record.
Write and rehearse the recovery runbook
The operations lead writes a recovery runbook covering each failure seen in the tests, with the owner, the command or console action, and the order in which services return. The runbook names the single points, including Dovecot and the MatrixRTC SFU, and the steps to restore their pods and data from the external stores and backups. Rehearse at least one full recovery with the on-call team before go-live. Verify by having someone who did not write the runbook follow it in staging and confirm that each step produces the expected result, then store it with the release record.
How the edition changes the openDesk high availability plan
In Community Edition, openDesk is supported only by the community on openCode, and no SLA stands behind it. The operator therefore owns every single point in the design and every failover test. The project's documentation names the components that cannot be spread across replicas, so the high availability plan starts from those limits and works outward from them. No vendor test suite replaces your own drills, and no one is contractually bound to respond when a node fails overnight.
- Dovecot is a single point. The scaling documentation states that Dovecot runs as a single pod that cannot be scaled horizontally. Your plan must cover restart time, node drain behavior and recovery of mailbox storage for that pod.
- The SFU keeps one replica behind a LoadBalancer. The MatrixRTC SFU must keep a single replica when a LoadBalancer is in front of it, because the LoadBalancer cannot route a call's media to the replica handling that call. Active calls on a failed node will drop, so test how clients reconnect.
- Every failover test is yours. Each node drain, database switchover and object storage failover needs a written test, a named owner and a recorded result. Nobody else runs these tests against your environment.
- Support is community-only. Community support has no SLA, so an outage escalates only as far as your own team and the community can take it. Write down the response times you can actually meet internally.
- Maintenance windows follow the latest minor version. Only the latest minor version is supported, so your upgrade schedule must allow for moving to new minor releases. Check the release management documentation before you plan a window.
Before you commit, confirm which single points your monitoring can detect, and record in writing which of them you accept as downtime.
Enterprise Edition keeps the same open-source core licenses and adds closed-source modules, an Enterprise-only registry and license file, and SLA-backed 2nd and 3rd level support and patches. ZenDiS recommends it for production. For high availability, the change is mainly in who responds to an incident, how patches reach you, and a small set of scaling features. Those features do not, on the information available here, remove the Dovecot or SFU constraints, so those constraints need explicit confirmation from ZenDiS.
- Contracted support for failover incidents. 2nd and 3rd level support comes with an SLA, so a failover incident can be escalated to a contracted support queue. Check the terms of the SLA itself before you rely on any response expectation.
- Enterprise security patches. Nextcloud Enterprise security patches and the Guard app are listed as Enterprise-only. Patch timing for stateful components then becomes part of your failover planning, because each patch restart is a controlled outage risk.
- Automatic load scaling for Collabora. Automatic load scaling for Collabora is Enterprise-only. The editing tier can respond to load without a fixed replica count set in advance, but you still need to test how sessions behave when a replica is removed.
- Other autoscaling options. The Enterprise documentation names further autoscaling options. Map each entry to a component in your design, because the list alone does not show whether that component's replica count or its storage design changes.
- Dovecot and SFU rules. Confirm with ZenDiS whether Enterprise changes the single-pod rule for Dovecot or the single-replica rule for the SFU behind a LoadBalancer. Until you have that answer in writing, keep both as single points in the design and in your failover tests.
Ask for the written answer on Dovecot and the SFU before you sign, and request the full Enterprise autoscaling list with the components it covers.
Keeping redundancy from weakening security and operations
Redundancy only helps if each copy keeps the controls of the original. The four cards below cover where failover tends to weaken security or hide data damage: network paths, external connections, image provenance and recovery. Run these checks in the same failover test that proves a node or service can be lost.
Network policies on every replica
Adding a replica of a data tier also adds a new endpoint, and that endpoint needs the same network policies and access controls as the primary. openDesk documents its Kubernetes security settings and network policies, but the external PostgreSQL, MariaDB, Redis, Memcached and object storage services sit outside the cluster, so your policy must cover their standby addresses too. Check that only the pods allowed to reach the primary can reach the standby, and that a pod outside the openDesk namespace is refused on the replica port.
openDesk security docsTLS and credentials for external services
Every external service openDesk depends on, including the SMTP relay, ClamAV over ICAP, the TURN server and object storage, has its own certificate and credentials. A failover often moves traffic to a hostname or certificate the application has never validated against, so the handshake can succeed through an unexpected trust path or fail at the moment of switching. Check that each standby presents a certificate valid for the name openDesk connects to, and that the credentials in the cluster secret authenticate against it. Run this from inside the cluster, over the same network path the application uses.
Pinned images and verified signatures
openDesk pins every container image by tag and digest, validates most Helm charts against GPG keys, and signs the images it builds with cosign. A rebuild or an emergency pull of a moving tag such as latest can change what runs without any visible change to the release. Check that the digests running after failover match the digests in the release, and verify signatures using the steps in the openDesk security documentation before accepting any replacement image. Confirm that your internal registry or mirror preserves those digests.
Backups separate from replication
A replica copies whatever the primary writes, including a bad migration, an accidental deletion or a corrupted file. Replication therefore protects against node loss but does nothing to undo a damaging write. Keep point-in-time backups of each data store in a location the failover path cannot overwrite. Check that you can restore one database and one object store to a point before the bad write and that the restored data serves the application. Confirm the restore procedure for each store with its vendor or your platform team before go-live.
Does openDesk high availability need a consultant?
What drives the cost and effort of openDesk high availability work?
The main drivers are how many external services need redundancy, how the cluster is laid out, how many environments must match production, and how far testing goes. openDesk expects production-grade external services, including PostgreSQL 15, MariaDB 10, Redis 7, Memcached, Cassandra, object storage and a TURN server, so each one you make highly available adds design and operations work. Cluster layout changes the failover design, from node count to how storage classes behave on node loss. Each extra environment, such as staging or a recovery site, repeats part of the work. Testing is often the largest variable, because each data store needs a documented failover test with recorded results. Ask for each driver to be priced as its own line, so you can see which choices move the total.
What does openDesk high availability need from my team?
The work needs named owners and access before it starts. Your team should provide cluster access with rights to run Helmfile releases, the owners of each external PostgreSQL, MariaDB, Redis, object storage and other data service, and the people who approve failover tests in a change window. Database owners confirm replication, backup and failover settings, because openDesk relies on those services being highly available outside its charts. Storage owners confirm that the RWO volume provisioner behaves as expected during node loss. Network owners handle the LoadBalancer, DNS and certificate changes. Put each approval in writing with a window and a rollback step.
- Cluster admin access for each environment in scope
- Owners for every external data service and their backup records
- Network, DNS and certificate owners
- A change approver who signs off each failover test
Can our own team set up openDesk high availability without a consultant?
Yes, if your team already runs Kubernetes, Helm and the external data services in production and can spare people to run failover tests. openDesk publishes its deployment automation under Apache-2.0, so the method is open to inspection. What outside help adds is experience with the failure cases: which components can run several replicas, which cannot, and how to prove recovery for each one. Check the openDesk requirements first: a CNCF-certified Kubernetes cluster at v1.33 or later, an ingress controller, cert-manager, an RWO volume provisioner, Helm 3.17.3 or later below v4 and Helmfile 1.0.0 or later. Gaps there are a reason to get help earlier. Also confirm who owns each database failover and who keeps up with releases, because only the latest minor version is supported and minor releases come monthly.
How long does openDesk high availability work take?
The timeline follows the written scope, so no single duration applies. Scope sets the number of external services, environments, cluster layout and failover test cases. Most DeployOpen engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts, and a quote follows from that scope. Illustrative example: one production cluster with a few external services, each with a failover test, takes less time than the same cluster plus a recovery site that must be retested after every release. Release cadence also shapes the plan. openDesk plans major releases annually in Q3 and minor releases monthly, and skipping several minor versions may need intermediate steps. Ask for the milestones, the evidence each milestone produces, what is excluded, and how a late approval moves the dates.
Can Dovecot or the MatrixRTC SFU be made redundant in Community Edition?
Not in the usual sense, because adding replicas does not work for these two components. openDesk states that Dovecot runs as a single pod that cannot be scaled horizontally, and that with a LoadBalancer the MatrixRTC SFU must keep a single replica, since the LoadBalancer cannot route a call's media to the replica handling it. Plan for both as recovery problems instead: fast pod restart, verified mailbox and data backups, a tested restore onto another node, and a runbook for calls in progress. Confirm each step against the openDesk scaling documentation and the settings for your version. Community Edition is supported only by the community on openCode with no SLA, so no vendor fix window applies. If your recovery target needs a committed response, ask ZenDiS about Enterprise Edition support before you design around these limits.
What should I ask for in an openDesk high availability quote?
Ask for a written scope that lists what the price covers, so quotes can be compared on the same basis. DeployOpen does not publish a price list, and a quote follows from the written scope. Ask for the external services in scope with their versions, whether each is highly available by design, the cluster layout and number of environments, the failover tests per service and the evidence each produces, the roles you must supply, and the milestones with acceptance criteria. Ask which items are one-time, such as the initial design and first test run, and which recur, such as retests after upgrades or a support retainer. Ask how scope changes are priced, how Dovecot and the SFU are handled in the design, and what changes if an approval is late.
Limits to confirm before promising availability
Each card covers one limit that sets the ceiling on an openDesk availability target. Work through them in order, because the release determines the replica guidance, and the release and edition together determine the support terms. Confirm every limit with ZenDiS or test it in your own environment rather than assume it.
Release and its replica guidance
Replica guidance belongs to a specific release, so start by recording the exact openDesk version you run. Only the latest minor version is supported, and in-place upgrades between majors are not guaranteed, so the guidance you read today may not match the release you deploy next. Ask ZenDiS for the replica guidance for your release, then check the replica count for each component you plan to run with more than one pod. Record each count in writing and keep it attached to your availability target.
Release management docsDovecot and the MatrixRTC SFU
openDesk states that Dovecot runs as a single pod that cannot be scaled horizontally. With a LoadBalancer, the MatrixRTC SFU must also keep a single replica, because the LoadBalancer cannot route a call's media to the replica handling it. Treat both components as single points of failure in your target unless ZenDiS confirms a different behavior for your release. Plan how quickly each pod can be rescheduled, how mailbox data is restored, and how long mail and video calls stay unavailable during that window.
Scaling documentationExternal services the release depends on
openDesk expects production-grade external services, including PostgreSQL 15, MariaDB 10, Redis 7, Memcached and Cassandra, an SMTP relay, ClamAV over ICAP, object storage and a TURN server. Your availability target is only as strong as the least redundant of these. Confirm which of them the release in use requires for each component, and whether your team or your hosting provider runs each one with redundancy. Write down the answers before you size the cluster.
Requirements docsFailover behavior and edition SLA
ZenDiS recommends Enterprise Edition for production, where support and patches carry an SLA. The Community Edition is supported only by the community on openCode, with no SLA. Ask ZenDiS what failover behavior the chosen edition supports for each component, what the SLA covers, and which response and recovery commitments apply. Only write a availability figure into a contract after those terms are confirmed in writing for your edition and release.
Enterprise Edition docsHow DeployOpen scopes, delivers and supports openDesk high availability
DeployOpen scopes openDesk high availability by separating the stateful services you run as production-grade external platforms from the bundled pods that openDesk documents as single points, such as Community Dovecot and the MatrixRTC SFU behind a LoadBalancer. The written scope records what can be made redundant, what you fund and operate, and which limits remain. Engagements are fixed-scope and agreed in writing before work starts.
How we scope
- The written scope lists each component and states whether its redundancy is designed, deployed or a documented single point.
- The scope names Dovecot as a single pod and the MatrixRTC SFU as one replica behind a LoadBalancer.
- Fixed-scope agreements set out the external databases, object storage, caches and TURN server you provide, and who runs each.
How we build
- Stateful services run outside the cluster as production-grade PostgreSQL 15, MariaDB 10, Redis 7, Memcached, Cassandra and object storage.
- Multi-replica application pods are set only where the chart supports them, and the scope records each setting.
- Failover tests run for each redundant service, and results are recorded against the written scope.
How we hand over
- Handover documents each single point, its documented limit and the monitoring you need to see it failing.
- Your team receives runbooks for backup and restore of each data store and for node failure recovery.
- Handover notes explain the release policy, including that only the latest minor version is supported.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers, scoped in writing like the build.
- Ask ZenDiS whether Enterprise Edition SLA-backed support covers your chosen single points before go-live.
- Community Edition has community support on openCode with no SLA, so plan the single points around that.

