Element Server Suite on an existing Kubernetes cluster

How to install the Element Server Suite Helm chart on a cluster you already run, with external PostgreSQL, ingress, media storage and a clear view of what Element leaves to your team without ESS Pro.

On this page

Element Server Suite on an existing Kubernetes cluster: when teams need it

If your operators already run Kubernetes and want Matrix to sit beside the other workloads they manage, Element Server Suite (ESS) deploys the Matrix stack through Helm charts, including Synapse, Matrix Authentication Service (MAS) and related components. This page covers installing ESS into a cluster you already operate. It does not cover building a new cluster, so the questions here are about fitting Matrix into your existing ingress, storage, database, identity and upgrade processes rather than about choosing a Kubernetes distribution.

The three editions differ in who they are for. ESS Community is free and intended for non-professional deployments and evaluations. ESS Pro is for professional and government use, and it adds Synapse Pro, MAS, LDAP and SCIM integration and auditing. ESS TI-Messenger is aimed at German healthcare. Before you pick a chart, confirm with Element which edition your organization is licensed to run, which components each edition includes in its current release, and what support terms come with it. Those answers decide whether you can use the commercial components your compliance team may expect to review.

Installing ESS into an existing cluster also means deciding what ESS does not do for you. Your platform team should confirm early who owns the PostgreSQL database, the ingress and TLS certificates, the persistent volumes that hold media, and the email settings that password resets depend on. The Element Server Suite product page is the place to check current edition details, and the decisions above should be written down before anyone runs the chart in a shared environment.

How ESS components sit on your cluster

Traffic starts at clients and federated servers, which reach the ingress controller before anything else in the cluster. The ingress hands client requests to Matrix Authentication Service and Synapse, and Element Web is served from the same entry point. Synapse keeps media in a store you provision, and it reads and writes its data in PostgreSQL, which runs outside the chart. The trust boundary sits at the ingress and at the federation listener, so check which paths are exposed there and which stay internal.

Request paths from clients and federated servers through ingress into ESS components and external PostgreSQL.

Which ESS edition fits your situation

ESS Community is the edition Element describes for non-professional deployments and evaluations. It suits a team that wants to learn how the Helm chart, Synapse and the supporting services behave on your cluster before making a production commitment. The free tier is defined by the type of use, so an evaluation that turns into a service for staff may fall outside it.

  • Licensing scope: Ask Element to confirm in writing which use cases the Community terms cover and whether an internal pilot with staff accounts counts as evaluation.
  • Components included: Confirm which components the Community chart enables, including whether Synapse, Matrix Authentication Service, and any LDAP or SCIM integration are in the free package or only in ESS Pro.
  • Support terms: Confirm what support, if any, comes with Community use, which channels are available and what response times, if any, are stated.
  • Migration path: Ask whether the server name, database and configuration carry over to a paid edition without rebuilding the homeserver, because that decides how much evaluation work you keep.
  • Data handling: Evaluation data still needs PostgreSQL backups and persistent media volumes, so plan the same persistence you would use in production.

Check the license text and support terms on the ESS page before loading real user data.

Helm and cluster options to decide before installation

This table compares the choices you make before running the ESS Helm chart on an existing cluster, including database, ingress, media storage and optional identity components. Read each row as a decision: when the option fits and what it commits your team to operate afterward.

DecisionWhen it fitsWhat it commits your team to
External PostgreSQLYour organization already runs a supported PostgreSQL service with backups, failover and patching owned by a database teamOwning connection limits, locale settings, backup restores and major upgrades outside the chart, plus network paths from the cluster to the database
Chart-managed databaseA small evaluation or a single-cluster pilot where a separate database team is not yet availableRunning PostgreSQL inside the cluster, including storage classes, backups and upgrades, under the same platform team that owns Synapse
Ingress controller and TLSYour cluster already has a supported ingress controller and certificate automation that your security team has reviewedConfiguring forwarded headers, upload size limits and TLS termination in the ingress, and keeping the admin paths off public routes
Media persistent volume classMedia uploads are expected to grow and your storage platform offers a class with snapshots and capacity expansionChoosing a storage class with ReadWriteMany support if several pods share media, plus monitoring of volume growth and media cleanup
Media volume size approachUsage projections are available from a pilot, with room to expand volumes without a rebuildConfirming with the storage vendor whether volume expansion is supported, and scheduling reviews of media retention settings
Matrix Authentication Service enabledYou want OIDC sign-in through an upstream provider such as Keycloak, Microsoft Entra ID, Google or AuthentikA separate MAS database, its own DNS name and reverse proxy routes, and a mail configuration before users can register
LDAP integration enabledYour directory is LDAP and your identity team can provide a bind account and group filtersSecuring the bind credential in Kubernetes Secrets, reviewing directory access, and testing account changes before enabling sync
SCIM integration enabledYour identity provider can push user lifecycle changes and your team needs deprovisioning to follow the directoryMaintaining provisioning rules, token rotation and audit review of account changes, which your identity team must own

Why PostgreSQL usually lives outside the ESS release

The Synapse documentation recommends PostgreSQL for production, with SQLite supported but not the choice for a service that many people depend on. Synapse 1.143.0 and later require PostgreSQL 14 or newer, and 1.142.0 and later require Python 3.10 or newer. Those floors apply to whatever database you run, so confirm the server version you will provision against the Synapse release your ESS chart pins before the cluster is built. Keeping the database outside the ESS release also means the chart can be upgraded or reinstalled without touching the data that holds every room and account.

Your first choice is whether a PostgreSQL operator such as CloudNativePG runs inside the cluster or whether a separately managed database service or database host is used. CloudNativePG is Apache-2.0 licensed, manages persistent volume claims directly, and provides automated failover, backups to object storage and point-in-time recovery through WAL archiving. With an operator, your platform team owns backup schedules, restore tests, minor and major upgrades, and the initdb locale settings. With a managed database, the provider usually owns the host and patching, but you still own the Synapse database, its role grants, the locale, and proof that a restore works. Ask any provider to confirm the PostgreSQL major versions it offers and its upgrade windows, since Synapse drops support for PostgreSQL versions once they reach upstream end of life.

Whichever option you choose, write down who is paid for, and who is on call for, each of these tasks: backup retention, restore drills, major version upgrades, failover testing and locale correctness. Locale mistakes are hard to undo after data is loaded, so confirm the collation with the PostgreSQL setup guidance for Synapse before the first install. Schema changes between Synapse releases also make rollback difficult, so take a database backup before every upgrade. A quote from DeployOpen follows from the written scope, and it should state which of these database tasks it includes and which remain with your team.

Installing ESS into an existing cluster, step by step

This sequence takes an existing Kubernetes or OpenShift-style cluster to a working Element Server Suite deployment with external PostgreSQL, ingress, persistent media storage, delegation and verified login, federation and uploads. Each step ends with a check, so the team knows what is ready before moving on.

  1. Confirm cluster version against the support policies

    The platform team records the kube-apiserver version, every node's kubelet version and the Kubernetes minor releases the project currently maintains. As of September 2026, the supported minor releases listed were 1.37, 1.36 and 1.35. Under the version skew policy, kubelets may be up to three minor versions older than kube-apiserver, and the apiserver must be upgraded one minor version at a time. Check that the cluster sits on a maintained release and within skew before continuing. Confirm with your cluster vendor whether ESS is tested on your exact distribution and OpenShift release, since the chart's own support statement governs that question.

  2. Prepare namespace, access and secrets

    The platform team creates a dedicated namespace for ESS and grants the deploying account only the permissions the Helm install needs, using least-privilege RBAC. Secrets for database passwords, signing material and SMTP credentials are created or sourced from an external store, because Kubernetes stores Secrets unencrypted in etcd by default. Ask the cluster administrator to confirm encryption at rest is enabled for etcd. Done when the namespace exists, the deploying account can create the expected objects in it, and no secret value appears in a values file committed to version control.

  3. Provision PostgreSQL and the Synapse database

    The database team creates the PostgreSQL instance and the databases and roles ESS needs, with the locale that Synapse requires. Synapse 1.143.0 and later require PostgreSQL 14 or newer, so confirm the server version before creating anything. If the cluster already runs an operator such as CloudNativePG, it can manage failover, PITR backups and PgBouncer pooling, but the backup and restore path must be tested either way. Check: connect from a short-lived pod using the Synapse credentials, confirm the server version and encoding, and confirm a test backup can be restored to a separate instance.

  4. Configure ingress and forwarded headers

    The network team creates DNS records and TLS certificates for the hostnames chosen for Synapse, MAS and Element Web, then routes them through the cluster ingress. The ingress must pass client address and protocol headers to Synapse so logs, rate limits and audit records show real client addresses. Confirm the exact header and ingress settings in the ESS chart documentation for your version. Keep the admin API path off the public route. Check: an HTTPS request to the public client endpoint returns a response from the expected service, and Synapse logs show the client address rather than the ingress pod address.

  5. Set persistent volumes for media

    The storage team provides a persistent volume claim for uploaded media with a storage class the nodes can mount, and sets its size from expected upload volume and retention. Confirm which access mode the ESS chart requires for media storage with Element, since that determines whether the storage class must support shared access across pods. Media cleanup and retention are operations tasks that run against this volume later, so agree who owns them now. Check: the claim shows as bound, and a file written by one pod is still present after the pod is restarted.

  6. Set server name and well-known delegation

    The team fixes the permanent server_name, which becomes the domain in every user ID such as @user:example.com, and decides where Synapse runs under that domain. The base domain must serve /.well-known/matrix/server and /.well-known/matrix/client with the CORS headers browsers need. Federation uses port 8448 by default, and delegation can point it at the host that runs Synapse on port 443. Changing server_name later is effectively a migration, so confirm the value with the owners of the domain before the install. Check: both well-known URLs return valid JSON, and a federation tester run from outside the network reaches the Synapse host.

  7. Run the Helm install and verify the deployment

    The platform team runs the Helm install with a reviewed values file that references the existing secrets, database and storage, then waits for every pod to become ready. Verification covers three paths: a user signs in through Element Web and sends a message, the federation listener on port 8448 accepts connections from outside the cluster, and a user uploads a file that appears in the media volume. Done when each path has a recorded result. Confirm with Element which ESS components are included in the chart you installed and which you must provide yourself, such as email, when you do not hold an ESS Pro subscription.

Ingress, forwarded headers and federation port 8448

Traffic reaches ESS through an ingress or reverse proxy you operate, and several Synapse behaviors depend on how that edge is built. Federation, client discovery, uploads and admin access each need a deliberate setting, and each one fails in a different way when left at default.

Federation on port 8448 and delegation

Synapse federates on port 8448 by default, so other servers expect to reach your homeserver there unless delegation says otherwise. Delegation lets user IDs such as @user:example.com stay on the short domain while the server itself runs on a host that answers on port 443. Confirm in the ESS documentation for your chart version which hostname serves federation, whether port 8448 must be exposed at the ingress, and how the well-known files are served. Test federation from outside your network before go-live.

Synapse federation docs

Forwarded headers from the proxy

Synapse uses the client address and protocol passed by the proxy for rate limiting, logging and some security checks. The edge must set forwarded headers correctly and must not let clients spoof them. Confirm in the ESS values which trusted proxy settings the chart exposes, and whether your ingress controller adds or overwrites these headers. Wrong values often show up as every user sharing one IP address in logs and rate limits.

Upload size and HTTP/1.1

Media uploads fail when the ingress limits request bodies below the size your policy allows, and the error often looks like a generic client failure. Some chunked responses also need HTTP/1.1 between the proxy and Synapse. Check the maximum upload size in the ESS values and set the matching limit on every hop, including any cloud load balancer in front of the cluster. Test with a file near the limit.

Keeping admin endpoints off the internet

The Synapse admin API under /_synapse/admin lets an administrator with the right token manage users, rooms and media, so it should not be reachable from the public internet. Route only the client, federation and discovery paths through the public ingress, and restrict admin access to a private network or VPN. Confirm which paths ESS exposes externally for your version, and test that the admin path returns a refusal from an outside address.

TLS certificate ownership

Decide who issues, stores and renews the certificates for the client, federation and discovery hostnames before installation. Options include cert-manager inside the cluster, a certificate from your existing PKI, or termination at an edge device you already run. Name the owner of renewal alerts and confirm that the certificate chain is trusted by other homeservers, since federation fails on untrusted certificates. Check the ESS documentation for where the chart expects certificates to live.

Persistent volumes for media and what backups must cover

Two kinds of state must survive pod restarts and rescheduling: the PostgreSQL database that holds users, rooms, events and account data, and the media store that holds uploaded files and avatars. Everything else in an ESS deployment is configuration that can be regenerated from Helm values and secrets. Before you accept the chart defaults, confirm with Element's ESS documentation which volume claims the chart creates for media, which storage classes it expects, and what default sizes it sets. Treat those values as something to verify against your cluster rather than something to assume. If the media store is not backed by a persistent volume claim with a storage class you control, a pod reschedule can silently discard user uploads.

Media growth is the storage decision that is hardest to predict and easiest to get wrong. Growth depends on how many users upload files, how large those files are, how long retention keeps them, and whether you enable remote media caching from other servers. Ask your storage team whether the chosen storage class supports volume expansion, since resizing a claim later is much easier when the class allows it. Also confirm how the storage backend handles snapshots, because the backup design depends on that answer. Media cleanup and retention policies reduce growth, but they must be tested on a copy of the data first, because deleting media is hard to reverse.

The backup scope must cover the database, the media volume and the configuration that ties them together, including the Helm values, the generated secrets and signing keys. A database backup without the matching media files restores messages that point to missing files. Define the backup schedule for each component and keep the two copies consistent with one another. Then run a full restore into a separate namespace at least once before go-live, and record how long it takes and which steps were manual. Restore testing is the only evidence that the design works. Plan to repeat it after each ESS upgrade, since a chart change can move paths or claim names that the backup job depends on.

Security settings that stay with your team

Element Server Suite runs on a cluster that your team already operates, so the security baseline of that cluster carries over to Matrix. The cards below cover the settings that the chart does not decide for you: how Kubernetes stores secrets, who can read them, how pods are admitted, how federation is limited, and which Synapse paths stay private.

Encrypt Kubernetes secrets at rest

Kubernetes stores Secrets unencrypted in etcd by default, and the Synapse signing key, database password and client secrets for SSO all end up there when the chart creates them. Before installing, confirm that your cluster enables encryption at rest for Secrets and that your etcd backups are encrypted too, since a snapshot contains the same data. Ask your platform team who holds the key and how it is rotated.

Secrets good practices

Restrict who can read Secrets

Anyone who can list or watch Secrets in the ESS namespace can read the Matrix signing key and database credentials. Bind the Element Server Suite namespace to a small set of administrators and service accounts with least-privilege RBAC, and remove broad cluster-wide roles from operators who only need pod logs. Review these bindings after every chart upgrade, because new components may need new service accounts.

Enforce Pod Security Standards on the namespace

Matrix components run as long-lived containers that handle user traffic, so the namespace should enforce a Pod Security Standard level rather than relying on defaults. Label the namespace to enforce the level your chart version passes, test in warn mode first, and document any exception. Check that the chart's security contexts do not conflict with the label before you move to enforce mode.

Pod Security Standards

Set the federation whitelist

Federation lets your users talk to any server on the open network, which may be more than your policy allows. Synapse's federation_domain_whitelist setting restricts federation to listed domains, and an empty list disables it. Decide the list with your compliance owner before go-live, and set it in the Synapse configuration that the chart renders for you.

Synapse configuration manual

Firewall the federation listener

The Synapse documentation recommends firewalling the federation listener in addition to the whitelist, because the whitelist filters by domain and does not stop a host from connecting to the port. Confirm with your network team which sources may reach the federation port (8448 by default) in your cluster ingress, load balancer and network policies, and test that blocked sources fail.

Keep Synapse admin paths private

The /_synapse/admin API can deactivate users, purge media and change room state, so it should never be reachable from the public internet. Route only the client, federation and well-known paths through your public ingress, and confirm with a test request from outside your network that admin paths return an error. Restrict any admin access to a private route or VPN that your operators use.

Questions teams ask before installing ESS on Kubernetes

What drives the cost and effort of installing ESS on an existing Kubernetes cluster?

The main drivers are the skills your team already has, who owns PostgreSQL, how identity integration is scoped, and how ingress and certificates are handled. A team that already runs Kubernetes, manages TLS and operates a database has a shorter path than one learning each piece during the install. Cost has two parts: one-time work to design, install and verify the stack, and recurring work to upgrade Element components, patch the cluster, run backups and handle user administration. When you request a quote, ask for the scope split between those two, the PostgreSQL approach (existing server, managed service or an operator such as CloudNativePG), the identity provider integration, and who runs upgrades after go-live. DeployOpen plans and implements these as a fixed-scope engagement, with the scope agreed in writing before work starts.

How long does an ESS Kubernetes installation take, and what sets that?

Duration depends on how much of the platform is new to your organization. The largest variables are whether the cluster and its ingress, storage class and certificate tooling already exist, whether PostgreSQL is provided or must be built, how many identity providers must be connected, and how many approval cycles your change process requires for DNS, certificates and firewall rules. Those external dependencies often take longer than the Helm install itself. Ask for a timeline that lists each dependency and who owns it. This page does not give a fixed duration, because none was researched for this topic; confirm the estimate against your own environment before committing a date.

What does the project need from our side before the install starts?

Plan to provide access and inputs in four areas:

  • Cluster access: a namespace or cluster role with rights to create workloads, services, ingress, secrets and persistent volume claims, plus a working storage class.
  • DNS: records for the server name and each service hostname that ESS exposes, so that clients can resolve them.
  • Certificates: a TLS approach through cert-manager or your own certificate authority, with renewal handled.
  • Identity provider: an OpenID Connect or SAML provider that ESS can use for sign-in, with its client registration and redirect URLs agreed in advance.

Also confirm the PostgreSQL location and the object storage or volume class for media. Each of these needs an owner on your side, and gaps usually appear in the certificate and DNS steps.

Can our own team run ESS Community without an outside partner?

A team with Kubernetes, PostgreSQL and certificate operations experience can install ESS Community in-house, and the Helm chart is designed for that use. The question is whether your team can also own the ongoing work: upgrades, backups, user administration and incident response. Element positions ESS Community as free for non-professional deployments and evaluations, so check the license terms against your intended use before you choose it for a professional or government service. ESS Pro is the edition Element names for professional and government use. Ask your team to list the people who will carry each operational task, and use that list to decide between in-house work and a supported engagement.

Does ESS Pro change how we operate the platform on Kubernetes?

Element describes ESS Pro as the edition for professional and government use, and it includes Synapse Pro, MAS, LDAP and SCIM integration and auditing. Those components change what you configure and what you must review, especially identity sync and audit logs, so your operating model should be checked before purchase. Ask Element which components and support terms apply, how upgrades are delivered, and what remains your responsibility on your cluster, including PostgreSQL, backups, persistent volumes and network policy. Licensing and support terms are set by Element, so confirm them directly with Element rather than relying on this page.

What does Element leave to us when we install ESS on our own cluster?

Installing the chart does not hand over the whole platform. Without ESS Pro, plan to own the external PostgreSQL database and its backups, the ingress controller and its forwarded header settings, the persistent volumes that hold media, the certificate lifecycle, DNS, and the monitoring and alerting stack. You also own the identity provider and the decisions about who may register accounts. Confirm the exact boundaries in the current ESS documentation and with Element, because component lists change between releases. A written responsibility matrix, agreed before the install, prevents gaps where each side assumes the other is handling backups or media retention.

How do Kubernetes version upgrades affect the ESS install?

Kubernetes publishes about three minor releases per year, and the project maintains the three most recent minor versions. Its version skew policy requires the API server to be upgraded one minor version at a time, before the controller manager, scheduler and kubelets, and kubelets may be up to three minor versions older than the API server. Before picking a target, check which Kubernetes versions the ESS chart release supports, then schedule cluster upgrades around ESS upgrades so neither is pushed past its support window. Kubernetes 1.35 reaches end of life on February 28, 2027, according to the project's release page, so a cluster on that line needs a plan before then. Ask your partner or Element to document a tested upgrade order for your cluster.

How DeployOpen scopes and delivers an ESS installation

DeployOpen plans, installs and documents Element Server Suite inside your own cluster, whether that cluster runs in your cloud account, your data center or an isolated network. The work is scoped before any build starts: which ESS components are enabled, which PostgreSQL service the Synapse and Matrix Authentication Service databases will use, how ingress and TLS terminate, where media volumes live, and which pieces stay with your team. Most engagements are fixed-scope, so the scope, deliverables and timelines are agreed in writing before work begins. A written scope also makes clear which items depend on decisions you have not made yet, such as the server name, identity provider and email relay, so those dependencies are not discovered during installation.

The written deliverables for an ESS installation typically describe the Helm values used, the cluster objects created, the external PostgreSQL connection details and their secret handling, the ingress and forwarded-header configuration, the persistent volume layout for media, the verification steps that were run, and the operating notes your team needs to upgrade the chart and restore from backup. Ask for these explicitly in any quote, and confirm whether your own change process needs them in a particular format. The exact list is set by the scope you agree, not by a standard template. Because ESS Community and ESS Pro differ in what Element provides, the scope should also record which Element capabilities you license and which operational tasks remain with your staff.

Ongoing support is available as a retainer for work that continues after handover, such as chart upgrades, Synapse and MAS version reviews, certificate and database maintenance, and periodic testing of restores. Retainers are a separate agreement from the installation, so decide early whether your team will run the platform alone, with a partner on call, or with a partner who handles routine upgrades. DeployOpen does not hold partner status with Element. Confirm any support terms, response expectations and service levels in the written agreement rather than relying on general descriptions.

Sources and further reading

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.