Upgrading Mattermost on Kubernetes and high availability clusters

A planning guide for upgrading self-hosted Mattermost clusters managed by the Mattermost Operator, covering incremental pod replacement, ESR stepping, rollback and effort drivers.

On this page

Upgrading Mattermost on Kubernetes: when to move and which path to follow

If your clustered Mattermost runs on Kubernetes or in a high availability setup and its current release is approaching end of support, you need to move to a newer release on a fixed schedule, and for a cluster that means stepping through Extended Support Releases (ESRs) without skipping any. Mattermost ships a new server version in binary form on the 16th of each month, and those monthly releases carry support for a short period. Mattermost v11.11 was released on 2026-09-16 with support ending 2026-12-15, and v12.0 was released on 2026-10-16 with support ending 2027-01-15. The ESR track is the one most regulated teams should plan around: v11.7 is an ESR released on 2026-05-15 with support ending 2027-05-15, and the prior ESR, v10.11, reached end of life on 2026-08-15.

Check your current version against those dates before you pick a target. If you are on a monthly release, the question is whether you move to the next ESR or to the latest monthly build, and the answer depends on your tolerance for frequent change and your upgrade testing capacity. If you are on an ESR, Mattermost's guidance is to move from one ESR to the next rather than jumping across several at once. Mattermost warns that skipping ESRs can break backwards compatibility for older nodes in a cluster during an upgrade, and a rolling upgrade across Kubernetes pods means old and new nodes briefly coexist. Confirm your exact version with your Mattermost administrator and the current support dates on the Mattermost server releases page before you book a change window.

Write down the path before the first change: the current version, each ESR you will stop on, the release you will end on, and the date by which the move must finish. Ask your Mattermost partner or internal team to confirm whether each step includes a database schema change and whether the Mattermost Operator version you run supports the target release. The sibling sections on ESR stepping and the v11 and v12 changes cover the details of each step, so treat this section as the decision point that sets the sequence for everything that follows.

What changes between Mattermost releases and what each change means for a cluster

This table lists the Mattermost release events that affect a cluster upgrade plan, with the date or requirement, what it means for pods and databases, and the action to take. Read it top to bottom to set the target version and the number of hops before scheduling any pod rollout.

Release eventDate or requirementWhat it means for a clusterAction needed
Monthly server releaseReleased on the 16th of each month in binary formEach monthly build is a candidate target, so a cluster can drift several releases behind within a yearPick a target version per cycle and record which monthly build the cluster runs
v11.11 end of supportSupport ends 2026-12-15Clusters still on v11.11 lose vendor support after this date, leaving little time to plan the next hopConfirm the upgrade window and target before 2026-12-15
v12.0 releaseReleased 2026-10-16, support ends 2027-01-15A major version can carry breaking changes, so plugins, database and search requirements need review in a staging cluster firstReview the v12 upgrade notes and test in a non-production cluster before the operator upgrade
v11.7 Extended Support ReleaseReleased 2026-05-15, support ends 2027-05-15An ESR gives a longer stable line for clusters that do not want monthly changesDecide whether the cluster stays on the ESR line and plan its next ESR step
v10.11 end of lifeReached end of life 2026-08-15Clusters still on v10.11 no longer receive fixes, and older ESR hops must be planned before moving forwardIdentify any cluster on v10.11 and map the ESR steps needed to reach a supported line
Skipping ESRsMattermost warns that skipping ESRs can break backwards compatibility for older nodesDuring a rolling upgrade, nodes on different versions may coexist, so a large version jump can fail mid-rolloutStep through each ESR in order rather than jumping directly to the newest release
Shared file storage for HARequired on Amazon S3, an S3-compatible service or NAS mounted on each nodeLocal storage on any node risks file corruption, and an upgrade that changes file paths or permissions can expose that gapConfirm every node mounts the same storage before and after each upgrade step

How the Mattermost Operator replaces pods behind health checks

The Mattermost Operator upgrades a cluster incrementally: it replaces pods one at a time and only swaps out a pod once the replacement is healthy. If an error occurs, it stops and applies no further changes, which leaves the cluster in a state your team can inspect or roll back. That behavior is the foundation of a zero-downtime plan, but it only protects you if you watch each step rather than assuming the Operator will finish cleanly. Before you start, confirm in the Mattermost Kubernetes and HA upgrade documentation how your Operator version reports pod state, so you know which signals to read during the rollout.

During each replacement, watch three things: whether the new pod passes its readiness and liveness checks, whether the old pod is drained and removed only after that, and whether the error state the Operator reports stays clear. Check the pod events and the Mattermost server logs for each replacement, not only the final rollout status. A pod that is running but not yet ready is still a risk, because the load balancer may route users to it before it can serve requests. Make sure your health check endpoints are configured so that a half-started server does not receive traffic.

The load balancer and shared file storage keep the user experience intact during this process. The load balancer must drain connections from a pod before it leaves service, so that active WebSocket sessions move to a healthy node rather than dropping mid-conversation. Shared storage on Amazon S3, an S3-compatible service or NAS must be mounted consistently across every node, because uploaded files and attachments have to resolve from whichever pod answers the request. Confirm with your storage team that the mount is shared, not local, before the upgrade starts, since local storage can corrupt files during a rolling change.

How pods, load balancer, database and shared storage move during an upgrade

The diagram starts at the load balancer, which sends user traffic to Mattermost pods. Each pod reads and writes through the primary PostgreSQL database, and reads are spread to read replicas, while all pods share one file store on S3, an S3-compatible service or NAS. The Operator replaces one pod at a time, and only after a healthy pod passes its checks does it move to the next. If an error appears, the Operator stops and applies no further changes, so check pod health and the halt state before you continue.

Traffic paths and the one-pod-at-a-time upgrade loop with its halt path.

What to prepare before the first cluster upgrade

The Operator replaces pods only after health checks pass, so an upgrade is only as safe as the state you can return to. The six items below connect backups, inventory, version checks, a mirror environment, baselines and a named decision owner into one preparation set to complete before the first cluster upgrade.

Verified database and file storage backups

Take a PostgreSQL backup and a copy of the shared file storage (S3, S3-compatible object storage or NAS) before any pod is changed. Confirm the backup is restorable by restoring it to a separate environment, not by checking that the job reported success. Record the Mattermost version and the schema state alongside the backup so a rollback starts from a known point.

Prepare to upgrade docs

Inventory of plugins and integrations

List every custom plugin, webhook, slash command, bot and external integration connected to the cluster, with its owner and the Mattermost version it was built against. Plugins that were compiled for one server version may fail after an upgrade, and a halted rollout leaves mixed versions running for a period. Mark which items need a rebuild or a vendor update before the window opens.

Operator and Kubernetes version checks

Confirm the installed Mattermost Operator version supports the target Mattermost release, and check the Kubernetes minor version of the cluster against the version skew policy. Control plane components must move one minor version at a time, and kubelets may lag the API server by up to three minor versions. Write down the current versions of the Operator, the cluster and the Mattermost image before starting.

Version skew policy

Staging cluster that mirrors production

Run the same upgrade in a staging cluster with the same Operator version, database engine, storage backend, ingress, load balancer and node count as production. Use a copy of production data or an anonymized equivalent so migrations and plugin behavior are tested against realistic volumes. Record how long each pod replacement took and any errors, because those results set the maintenance window for production.

Health check and monitoring baselines

Capture the current readiness and liveness results, pod restart counts, error rates, login latency and database connection use while the cluster is healthy. The Operator decides whether to continue based on health checks, so you need to know what healthy looks like before a change. Set alerts for deviation from that baseline and assign someone to watch them during the rollout.

Written rollback decision owner

Name one person who may stop the rollout, decide between investigating and rolling back, and approve the restore. Write down the conditions that trigger each choice, such as failed health checks, errors in logs or plugin failures. Include who restores the database and who communicates with users. Without a named owner, a halted upgrade can stay in a mixed state while the team debates the next step.

The upgrade sequence for a clustered Mattermost, with rollback points

This sequence moves a clustered Mattermost through the Operator in controlled stages, so each step has a verified state and a defined point where the team can stop or roll back.

  1. Confirm the target release and ESR step

    Identify the target Mattermost server version and check whether it is a monthly release or an Extended Support Release. Confirm that the current version is on a path the target supports, because skipping ESRs can break backwards compatibility for older nodes in a cluster. Record the current version, the target version and their support end dates from the Mattermost server releases page. The step is done when the platform lead and the application owner have signed off on a single written target version for each stage of the upgrade. Rollback point A: if the target cannot be reached from the current version without skipping a required ESR, stop here and plan intermediate steps before any change is made.

  2. Back up database and file storage

    Take a consistent backup of the PostgreSQL database and of the shared file storage that every node mounts, whether that is Amazon S3, an S3-compatible service or NAS. Record the backup identifiers, storage locations and restore test status, and confirm that the Mattermost configuration and Operator custom resource manifests are stored in version control. Ask your database team to confirm the backup can be restored into a separate environment before you rely on it. The step is done when a restore has been tested in staging and the team holds the backup identifiers in its change record. Rollback point B: this backup is the basis for any later restore, so do not proceed to production until it is verified.

  3. Check Kubernetes and Operator versions

    Confirm that the Kubernetes cluster version, the Mattermost Operator version and the target Mattermost version are compatible, using the Operator's release notes and the Mattermost upgrade documentation. Check the Kubernetes version skew policy for the control plane and node versions, and confirm that the cluster is on a supported Kubernetes minor release. Check resource headroom and that the pod disruption settings and readiness and liveness probes are present and correct. The step is done when a written compatibility check lists each component, its version and its source. Rollback point C: if any component is unsupported or the compatibility check fails, halt and resolve the mismatch before changing the Operator.

  4. Rehearse the upgrade in staging

    Run the complete upgrade in a staging environment that matches production topology, including the same number of application server pods, the database read replicas and search replicas if you use them, the load balancer and the same storage type. Change the Operator image or version in staging, then watch the incremental pod replacement from start to finish. Test login, search, file access and calls after the upgrade. Record the time each phase took and any warnings. The step is done when staging finishes with all pods healthy and the test results are documented. Rollback point D: if staging fails, use the documented restore and roll back procedure in staging, and fix the cause before scheduling production.

  5. Change the Operator image or version in production

    During an approved maintenance window, change the Operator image or version that manages the Mattermost deployment in production, using the same change process that was rehearsed in staging. The Operator upgrades pods incrementally and replaces only healthy pods after health checks, and it applies no changes if an error occurs, so the deployment can be investigated or rolled back. Keep the on-call engineer and the application owner present. The step is done when the Operator reports the new version and the change record shows the exact image or version applied. Rollback point E: if the Operator halts, read its status and events before taking any action, because the halt is a safe state that preserves the running pods.

  6. Watch incremental pod replacement and health checks

    Monitor pod replacement as it proceeds, confirming that each new pod passes readiness checks before the next old pod is removed. Watch error rates, latency, database connection counts and node resource use through the metrics you already collect. Check the Operator logs and Kubernetes events for failed probes, crash loops or stuck rollouts. The step is done when every pod runs the target version, the rollout is complete and the metrics have returned to the pre-upgrade baseline. Rollback point F: if pods repeatedly fail health checks or the error rate rises beyond the level your team agreed in advance, halt the rollout and restore from the backup if the database schema has changed.

  7. Verify login, search, file access and calls

    Run a scripted set of functional checks against the upgraded cluster. Confirm that users can sign in through the configured identity provider, that search returns results for both old and new messages, that uploaded files open for users on different nodes, and that voice calls connect if the Calls plugin is in use. Include a user on each replica or node where possible. The step is done when every check passes and the results are recorded with timestamps and the tester's name. Rollback point G: if a check fails and the cause is not understood within the agreed window, follow the documented downgrade procedure rather than continuing to patch in production.

  8. Close the change and record the rollback window

    Once verification passes, record the final versions, the backup identifiers, the test results and the time the change closed. Note how long the rollback option remains practical, and set a review of the monitoring data with the application owner. Confirm that the staging and production configurations still match, and update the runbook with anything learned. The step is done when the change record is complete and the team has agreed who may authorize a rollback after closure. Ask your provider or internal change board to confirm how they define closure for an upgrade of this kind.

Stepping through ESRs when a cluster has fallen behind

Mattermost v10.11 reached end of life on 2026-08-15, so a cluster on it or on an older ESR has no remaining support and the largest gap to close. Mattermost warns that skipping ESRs can break backwards compatibility for older nodes in a cluster during an upgrade, so the step cannot be treated as a single jump to v11.7. Each ESR on the way must be placed in the sequence and tested as a stop.

  • Support status: v10.11 ended support on 2026-08-15, so the first step is a priority, not a planning item for a later window.
  • Intermediate ESRs: List every ESR between your current version and v11.7, then confirm the exact sequence in the official upgrade documentation.
  • Node version mix: Pods still running an older version during a rolling replacement limit which release can safely share the cluster at each stop.
  • Checks at every stop: Each step can change database, plugin and configuration requirements, so run the preparation checks again before each one.

Before scheduling any step, confirm the intermediate releases in the Mattermost Kubernetes and HA upgrade documentation and record the version of every pod at each stop.

Active/Active failover options and what they do not protect

Before you rely on failover, confirm which failover model your Mattermost version supports and what each part of the cluster is responsible for. Mattermost high availability consists of redundant application servers, redundant database servers and redundant load balancers, and it is available only on the Enterprise and Enterprise Advanced plans. Database read replicas and search replicas spread read traffic across replicas, while writes still go to the primary database. In practice, this means a failed application pod or node is absorbed by the remaining servers, but a failed primary database is a different event with its own recovery path. Confirm with Mattermost how the primary database, the search backend and the shared file store (Amazon S3, an S3-compatible service or NAS mounted on every node) fail over in your version, because each has its own behavior and none of them is covered by the application tier alone. The high availability cluster documentation is the natural starting point for that check.

Redundancy reduces the impact of a single pod or node failure. It does not replace a tested upgrade or a tested backup. A cluster can keep serving users through a failed node and still fail badly during an upgrade if a migration corrupts the schema, if an incompatible binary reaches every node at once, or if a bad change replicates to the standby database. Plan for a verified database backup and a file store snapshot taken before each upgrade step, and confirm that you can restore both to a separate environment. Also confirm that the Operator's halt behavior does not depend on a failover model you have not tested. Treat failover as a way to keep users online during routine faults, and treat backups, rollback steps and a documented restore as the controls that protect data and recovery time when an upgrade or a corrupting change goes wrong.

What makes a Mattermost cluster upgrade take longer

This table compares the factors that lengthen a Mattermost cluster upgrade on Kubernetes or in an HA setup, how each one changes effort, and what to ask for in a written quote. Use it to see which drivers apply to your environment before you ask for a scope, since most of them are fixed by your current state rather than by the upgrade itself.

DriverEffect on effortWhat to ask for in a quote
Custom plugins and rebuildsEach custom plugin must be checked against the target server version and rebuilt if its frontend or server code no longer matches, which adds test cycles per plugin.A plugin inventory with versions, owners, and a stated rebuild and retest plan for each one on the target version.
Database size and migrationsLarger databases take longer to back up, migrate and verify, and schema migrations on the target version can run for longer on big tables.The database size, the migration path on the target version, the backup and restore test method, and the rollback point.
Shared storage size and typeAn HA cluster needs shared file storage on S3, an S3-compatible service or NAS on every node, so storage volume and throughput affect backup and validation time.Confirmation of the storage type in use, its current size, and how file integrity will be checked before and after the upgrade.
Number of ESR stepsMattermost warns that skipping ESRs can break backwards compatibility for older nodes, so each skipped ESR adds an intermediate upgrade and test pass.The current version, the ESR path to the target, and whether each intermediate step is included in scope and timeline.
Kubernetes and Operator version gapsLarge gaps between the current cluster, the Operator and the target Mattermost version require extra compatibility checks and may need cluster upgrades first, following the Kubernetes version skew policy.The current Kubernetes and Operator versions, the target versions, and whether cluster upgrades are included or handled by your team.
Network and load balancer complexityMultiple ingress paths, custom load balancer rules, read or search replicas, and Calls or TURN traffic add health check and failover tests during each pod replacement.A diagram of traffic paths, the health check definitions in use, and the failover tests to be run in a staging cluster first.
Compliance evidence requirementsEvidence for change records, test results, approvals and rollback proof takes time to collect and format, especially where an independent auditor will review it.The evidence list the assessor expects, the format and retention period, and who signs off on each artifact.

Questions buyers ask before upgrading a Mattermost cluster

What drives the cost of upgrading a Mattermost cluster and who pays for what?

The cost is driven by the size and state of the cluster, the number of versions you must cross, and how much preparation your team can absorb. Your organization pays for its own cloud or data center capacity, its Mattermost subscription, and any staff time spent on change windows and testing. A partner is paid for the work in the written scope, such as the upgrade plan, pre-upgrade checks, the staged rollout, and verification. Ask the quote to separate one-time work (planning, the first upgrade, runbooks) from recurring work (patch cycles, monitoring, retainers). Confirm which Mattermost plan you hold, because high availability clustering is available only on the Enterprise and Enterprise Advanced plans according to the Mattermost pricing page, and prices are not published there.

Can our team upgrade a Mattermost Kubernetes cluster without outside help?

Yes, if your team already runs Kubernetes, PostgreSQL and shared file storage in production and has a tested rollback plan. The Mattermost Operator handles incremental pod replacement, but the upgrade still depends on database schema changes, plugin compatibility, load balancer behavior and the Kubernetes version your cluster runs. Teams without recent Mattermost upgrade experience often benefit from a fixed-scope engagement that agrees deliverables and a timeline in writing before work starts. DeployOpen plans, implements, documents and supports self-hosted platforms in your infrastructure, so you can choose between doing the work yourself, buying a one-time upgrade or adding a retainer for later releases.

What skills and staff time does a Mattermost cluster upgrade require?

Plan for a small group with clear roles. Your platform engineers need Kubernetes operations experience, including namespaces, rollouts and reading pod health. A database owner must confirm the PostgreSQL version meets the floor for the target release and check the backup. A storage or network owner must confirm the shared file store is mounted on every node and that the load balancer routes traffic correctly. A security or compliance reviewer should sign off on configuration and access changes. Someone must own the communications plan and the change window. Confirm each role in the written scope so the people who approve the change know what they are accepting.

How long does a Mattermost cluster upgrade take and what sets that time?

Duration depends on how far you are moving, how many environments you have, and how much the cluster differs from a standard reference build. Mattermost releases a new server version on the 16th of each month, and Extended Support Releases such as v11.7 carry support until 2027-05-15, so the number of intermediate versions matters. Mattermost warns that skipping ESRs can break backwards compatibility for older nodes in a cluster, which can add steps. Other time drivers include staging validation, PostgreSQL upgrades, plugin rebuilds and the size of the change window your business allows. No duration is fixed by Mattermost or DeployOpen here, so ask for a timeline built from your own environment inventory.

What happens to a Mattermost cluster upgrade when the Operator halts?

The Mattermost Operator upgrades pods incrementally, replaces only healthy pods after health checks, and applies no further changes when an error occurs. That behavior leaves the deployment in a state you can investigate, so you do not have to clean up a half-finished rollout blind. Rollback still requires a plan that you prepare in advance: a verified database backup, the previous image tags recorded, and a tested procedure for reverting the Operator resource. Schema changes can make a simple image revert unsafe, so confirm with the Mattermost documentation how to downgrade for your target version before the change window. Ask your partner to write this procedure into the scope and test it in staging.

Which Kubernetes version limits should we check before a Mattermost upgrade?

Check the Kubernetes version your cluster runs against the version skew rules before changing anything. The Kubernetes version skew policy requires kube-apiserver to be upgraded one minor version at a time, and kubelets may be up to three minor versions older than kube-apiserver. The project maintains the three most recent minor releases, with 1.37 supported until October 28, 2027, 1.36 until June 28, 2027 and 1.35 until February 28, 2027, as of September 2026 per the Kubernetes releases page. Confirm which Kubernetes version your managed service or distribution supports, since distributions may lag upstream.

What should we verify on the database and shared storage before upgrading?

Verify three things: the PostgreSQL version meets the minimum the target Mattermost release enforces, the database backup restores in a test environment, and the shared file storage is reachable from every node. Mattermost high availability requires shared storage on Amazon S3, an S3-compatible service or NAS mounted on each node, because local file system storage will not work correctly and risks corrupting files. If you run read replicas, confirm the replicas are healthy and that the upgrade order accounts for them. Confirm each check with your database and storage owners, and record the results in the change ticket before the maintenance window opens.

Official Mattermost and Kubernetes sources to read before planning

Before you schedule a cluster upgrade, read the Mattermost upgrade documentation for Kubernetes and high availability environments, which covers how the Mattermost Operator replaces pods, and the general preparation guide. Confirm that both pages describe the exact target version on your plan, because the Operator behavior and the list of pre-upgrade checks change between releases. Then compare the target against the server releases page to confirm whether you are moving to a monthly release or an Extended Support Release, since the ESR guidance on skipping releases applies to clusters with mixed-age nodes. Record the version you read and the date you read it in your change ticket so that the plan can be checked against the same source later.

The Kubernetes side of the plan depends on three official pages. The version skew policy sets the order in which the kube-apiserver, kube-controller-manager, kube-scheduler and kubelets must move, and it determines whether your node pools can lag behind the control plane during the window. The etcd operations guide covers the odd-member requirement, the snapshot procedure with etcdctl snapshot save, and restores with etcdutl, so confirm that a tested snapshot exists before any control plane change. The Kubernetes Secrets good practices page explains that Secrets are stored unencrypted in etcd by default, so check whether encryption at rest is configured in your cluster and who holds list and watch rights on the namespace where Mattermost runs. Owners of each of these areas should sign off on the plan before the upgrade is scheduled.

How DeployOpen scopes, delivers and supports a Mattermost cluster upgrade

DeployOpen plans upgrades of Mattermost clusters in infrastructure you control, starting from your current version, Operator setup and cluster topology. Each engagement follows a written scope that sets out the upgrade path, the checks, the rollback points and the handover material for your team.

How we scope

  • Confirm your current Mattermost version, Operator version, Kubernetes version and whether the cluster runs in high availability mode.
  • Map the upgrade path across monthly releases and Extended Support Releases, including any ESR steps the cluster needs.
  • Agree in writing the environments covered, the maintenance windows, the rollback criteria and the deliverables before work starts.

How we build

  • Rehearse the incremental pod replacement in a staging cluster that mirrors your shared storage, database and load balancer setup.
  • Verify health checks, Active/Active failover behavior and read replica routing before each production step.
  • Document the rollback procedure for a halted Operator run, including how to inspect the deployment and restore the prior state.

How we hand over

  • Deliver an upgrade runbook with pre-upgrade backup steps, version checks, the stepping sequence and post-upgrade verification.
  • Provide a record of test results, configuration changes and any plugin or integration checks completed during the upgrade.
  • Walk your platform and database teams through the runbook so they can repeat the procedure for the next release.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer, scoped separately from the upgrade project.
  • Plan the next upgrade window against the monthly release date and the published support end dates for each version.
  • Confirm with your team which support terms, release channel and vendor entitlements apply to your Mattermost subscription.

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.