Migrating Mattermost from Linux or Docker to Kubernetes: what the move involves
Moving a Mattermost that runs on one Linux server or Docker host to Kubernetes is a re-platforming of the application, its database and its file store, not a data import. The chat history already sits in PostgreSQL and on local disk, so the work is about relocating that state onto services that several replicas can share, then cutting users over with a plan for rollback. Mattermost's own container guidance says Docker deployments should not be used in production because they lack automatic failover, shared storage and load balancing, and it recommends Kubernetes for high availability. That recommendation is the reason for the move, so the target design should start from it.
The Mattermost Kubernetes Operator expects S3-compatible object storage for files and a managed database service, which means the first decision is where files and PostgreSQL will live after the move. Confirm with your platform team whether an existing PostgreSQL service, an S3-compatible store such as Ceph, or a cloud service meets your residency and backup requirements, and whether the current file store already holds data that must be copied. Read the Mattermost Operator deployment guide before choosing the target shape.
The effort depends on two things: the state you must move and the plan tier you need. State includes the PostgreSQL database, every file on local disk, configuration, certificates, and any plugin data, and each store needs its own copy, verification and rollback step. Plan tier matters because high availability clustering, which is what running several application replicas depends on, is available only on the Enterprise and Enterprise Advanced plans according to Mattermost's pricing page. Confirm your current license and the plan you will need in writing before scoping, since a Team Edition or Professional deployment may not support the replica count you intend to run. Ask any implementation partner to separate those license decisions from the infrastructure work in its quote.
Which parts of a single-server Mattermost map to the Kubernetes deployment
This table compares each component of a single-server Mattermost with its place in a Kubernetes deployment, and notes whether it moves cleanly, needs a new design, or must be re-verified after cutover. Use the third column to plan work, and treat any row marked for re-verification as a test item in the cutover plan.
| Component | Single-server Linux or Docker | Kubernetes with the Mattermost Operator |
|---|---|---|
| Application server | One Mattermost binary or container running on a single host or Docker host | Mattermost pods managed by the Operator; high availability with multiple replicas requires Enterprise or Enterprise Advanced |
| Database | PostgreSQL on the same server or host | External PostgreSQL service outside the cluster; the database must be migrated and reconnected, not copied with the pod |
| File storage | Local disk under the data directory | S3-compatible object storage or NAS mounted to every node; local file storage cannot be shared across replicas and risks file corruption |
| Configuration | config.json file on the host or in the container volume | Configuration supplied through the Operator custom resource and Kubernetes objects; review every setting that points at a host path |
| Reverse proxy and TLS | Nginx or similar proxy on the host with certificates on disk | Ingress or load balancer with certificates managed in the cluster; confirm WebSocket and upload limits on the new path |
| Plugins | Plugins installed through the System Console or the plugin directory | Plugins must be reinstalled or reconfigured for the new image and re-tested for compatibility with the target server version |
| Custom builds | Modified binaries or images built by your team | Rebuild as container images for the new platform; confirm license terms and source obligations before deployment |
| SSO and authentication | SAML, OIDC, OAuth or AD/LDAP settings stored in the server configuration | Identity settings carried over, but redirect URLs, certificates and callback hosts change with the new endpoint and must be retested |
| Calls and search settings | Calls and search reached over host networking and local ports | Calls need network design for media traffic, including TURN; confirm search connectivity and replica settings after the move |
Documented paths and tools for moving data and configuration
The database holds users, channels, posts and permissions, so it is the first thing to plan. If the PostgreSQL major version stays the same, the move is mainly a logical dump and restore into the external PostgreSQL service that the Operator will connect to. If the version changes, the PostgreSQL documentation offers three routes: a logical dump with pg_dumpall and restore, pg_upgrade, or logical replication. Logical replication works between major versions and can keep downtime to several seconds, but it adds setup and monitoring work. Choose the route before cutover and rehearse it against a copy of production data.
- Dump and restore: Simplest to reason about and verify, with downtime that grows with database size.
- pg_upgrade: Used when the data directory moves between major versions on the same server or host; PostgreSQL 18 retains planner statistics across upgrades.
- Logical replication: Supports major version changes with short cutover downtime, but requires careful handling of schema changes during the sync.
- Connection and privileges: Confirm the target role, extensions and authentication method, including any SCRAM or certificate settings the new cluster requires.
- Backups: Take a verified backup before any step and keep it until the new environment has passed its acceptance checks.
Confirm the supported PostgreSQL version against the Mattermost server documentation for your release before you pick a route.
Attachments, profile images and other uploaded files live in the file store, which on a single server is usually local disk. Moving to Kubernetes needs shared object storage, typically S3 or an S3-compatible service, because pods do not share a local file system. The documented file-store change switches the driver in configuration but does not copy existing files, so the files must be transferred separately and the paths and bucket layout must match what the server expects. Plan this as its own workstream with its own verification.
- Copy first: Transfer existing files to the target bucket with a tool that preserves names and paths, then compare object counts and sizes against the source.
- Driver settings: Set the file store driver, bucket, region, endpoint and credentials for the S3-compatible service in the configuration the Operator uses.
- Credential handling: Store access keys in a Kubernetes Secret with restricted access, not in a values file in version control.
- Cutover sync: Run a final incremental copy during the maintenance window so files written after the first copy are not lost.
- Cluster requirement: A high availability cluster cannot run on local disk, so object storage is required once you add replicas.
Confirm the exact file store settings and bucket requirements in the Mattermost Operator and server documentation before running the copy.
The configuration file and any environment overrides on the existing server describe how Mattermost connects to its database, file store, email, authentication and site URL. On Kubernetes, many of these values move into the Operator resource and into Secrets, and some settings must be changed because the hostnames, ports and storage paths are different. Treat the configuration as a reviewed diff rather than a copy. Settings that were tuned by hand on the old server should be listed and each one should have a stated reason for carrying over.
- Inventory: Export the active settings and every environment variable override, then mark which ones are secrets, which are environment-specific and which are no longer needed.
- Secret handling: Move database passwords, keys and SMTP credentials into Kubernetes Secrets, and confirm how the cluster encrypts them at rest.
- Site URL and proxy: Update the site URL, TLS termination and forwarded headers for the ingress path.
- Authentication: Recheck SSO and directory settings, since callback URLs often change during a move.
- Bulk export only when servers change: If you also move to a new server, mmctl export and bulk import carry many data types, but they do not carry everything, such as webhooks, so recreate those separately.
Confirm each configuration key and the Operator resource fields against the Mattermost Operator documentation before execution.
Sequence for the parallel run and cutover
This sequence moves a single-server Mattermost onto a Kubernetes target while the old host stays available as the rollback path, so the cutover is a planned, reversible change rather than a one-way event. Each stage ends with a check that tells the team whether to proceed.
Inventory plugins, integrations, SSO and data volumes
Before any build work, record what the current server actually runs: installed plugins and their versions, inbound and outbound integrations, the SSO and directory settings in use, the size of the PostgreSQL database, and the volume of the local file directory. Identify each integration's endpoint and credentials, because webhook URLs and bot tokens usually point at the old host and must be re-pointed at cutover. Confirm with the vendor and your own configuration which plugins support your target release before you commit to the version. The output is a signed-off inventory that becomes the checklist for every later stage. Check it by walking the list with the application owner and confirming that nothing is listed as unknown.
Build the Kubernetes target with external services
Stand up the Kubernetes environment with the Mattermost Operator, a managed or external PostgreSQL database and S3-compatible object storage for files, so no application node holds state locally. Configure ingress, TLS, secrets handling and network policy in the target namespace, and keep the database and bucket in the same region or network path as the cluster to limit latency. Confirm the Kubernetes version against the current release and skew guidance before you install. Take a backup of the source first, then ensure the new environment's configuration is kept in version control. The step is done when the empty target starts, answers health checks and passes a test upload to the bucket.
Take and verify a source backup before the rehearsal
Before any data moves, take a full backup of the source PostgreSQL database and a copy of the file store, plus the server configuration file. Record the checksums and store the copies outside the source host so a failure on that host does not remove the only copy. Confirm that the database dump restores on a scratch instance and that file counts match the source. Repeat this backup before every later stage, including the final freeze, so each stage has a known restore point. The step is complete when a restore of the backup has been tested, not only when the files exist.
Rehearse the restore into the new environment
Restore the source database and migrate the file data into the Kubernetes target, then start Mattermost against that copy. Run the rehearsal end to end at least once and record each command, duration and error so the production run is repeatable. Check that users can sign in through the same SSO path, that channels, posts and attachments display, and that plugins load. Note every step that required manual intervention, since those become items in the cutover runbook. The rehearsal is done when a clean run completes from a documented script and the smoke test list passes without edits.
Run a parallel validation with test users
Keep the old host serving production while a small group of test users works on the new target, using a separate address or a test hostname. Ask them to exercise daily tasks: sending messages, uploading files, using integrations, receiving notifications and signing in through SSO. Compare results against the source and log discrepancies with owners. Plan for data written on the new target during this period to be discarded or re-imported, because production traffic still goes to the old host. Confirm the exit criteria in writing before proceeding, including the open-defect list and who signs off.
Freeze writes and switch traffic at cutover
Announce a write freeze window, then take a final backup of the source database and file store. Disable new posts on the old host, run the final data sync into the target, and verify record counts and file checksums against the frozen source. Update DNS or the reverse proxy to point users at the new target, re-point integration endpoints and bot tokens, and confirm the new SSO redirect URLs. The cutover is verified when test accounts can post, read history and open attachments from the production hostname, and integrations report successful delivery. Keep the old host in a read-only, running state so the rollback path remains available.
Define and rehearse the rollback path
Write the rollback steps before the freeze, not during it. The rollback should name the trigger conditions, the DNS or proxy change that returns traffic to the old host, how posts written on the new target after cutover are handled, and who approves the decision. Practice the reversal in the rehearsal if possible, and confirm the old host can take traffic again without a restore. Rollback decisions are most risky in the first hours after cutover, so set a monitoring check at that point and keep the backup from the freeze until the outcome is clear.
Decommission the old host after retention
Once the new environment has run in production through an agreed monitoring period, and your records retention policy allows it, shut down the old host and remove its access. Keep a final archived backup of the source database, file store and configuration for the retention period your policy requires, and confirm that the archive can still be restored. Revoke old credentials, remove DNS records and firewall rules for the retired host, and update the asset inventory. The step is complete when the archive restore has been tested and the old host no longer appears in monitoring or access reviews.
How replica counts and high availability shape the target design
Replica counts on Kubernetes are not a sizing knob alone. Each one depends on shared storage, a licensed plan and a database layer that you operate or buy, so decide them together before the cutover plan is written. The cards below cover the decisions that connect the application tier, the database and the file store.
Application replica count
Running more than one Mattermost application pod is the step that turns a single server into a cluster, and it only works when every pod shares the same file store and database. Confirm with your plan level that high availability clustering is included before you set the replica count above one. Start from the number of pods your load test and failure tests need, not from the number of nodes you have. Record the count in the target design so the cutover runbook and the monitoring thresholds match it.
- Minimum plan for HA
- Enterprise
Shared file storage
Every cluster node must read and write the same files, so local disk on a pod or node is not an option. Plan an Amazon S3 bucket, an S3-compatible service or a NAS mounted on each node before you add a second replica. Migrating existing attachments from the single server to the new store is a separate step, and it should be tested on a copy of the data. Ask your platform team who operates the object store and how its backups are run.
Database read replicas
Read replicas let Mattermost send read queries to standby PostgreSQL servers while writes continue to go to the primary. This reduces load on the primary when concurrent users grow, but it adds replication lag that users may notice in busy channels. Confirm which read paths Mattermost routes to replicas in the version you plan to run, and test the lag under load. Each replica is an extra database server to patch, back up and monitor.
Search replicas
Search replicas take search queries away from the primary database, which matters for large workspaces with heavy message search. They are a separate scaling decision from database read replicas, so do not assume one covers the other. Check whether your planned Mattermost version and plan support search replicas and how they are configured. Size them after you measure search load on the existing server, not before.
Load balancing and failover tooling
Redundant load balancers sit in front of the application pods, and this is part of the high availability definition Mattermost uses. The database needs its own failover design, because PostgreSQL does not detect a failed primary or promote a standby by itself. Choose the failover tool, such as an external cluster manager or a managed database service, and test promotion, reconnection and the application's behavior during the switch. Record the recovery time you measured and the team that runs the failover.
PostgreSQL failover docsPlan level and licensing
High availability clustering is available only on the Enterprise and Enterprise Advanced plans, so the replica decision carries a licensing consequence. Ask Mattermost to confirm which plan includes each feature you need, and get that in writing with your quote. Licensing is a recurring cost tied to seat counts, while the infrastructure and database costs are yours to estimate. Do not finalize replica counts until the license scope is signed.
Mattermost pricingWhat drives the cost and duration of the re-platforming
This table lists the main drivers of cost and schedule when moving a single-server Mattermost onto Kubernetes, who typically pays for each one, and whether it is a one-time or recurring expense. Use it to see which items your own team can absorb and which ones should appear explicitly in a written scope before you request a quote.
| Driver | Why it changes cost or effort | Who pays and one-time or recurring |
|---|---|---|
| Database size and PostgreSQL version | Larger databases lengthen export, restore and cutover rehearsals. Moving to a newer PostgreSQL major version adds upgrade testing and compatibility checks. | Internal staff or partner for migration work (one-time). Managed database provider or your DBA team for ongoing hosting (recurring). |
| Attachments on local file storage | Files on local disk must be copied to S3-compatible storage before a cluster can run correctly, so volume drives transfer time and verification effort. | Internal staff or partner for copy and checks (one-time). Storage provider for capacity (recurring). |
| Plugins and custom builds | Each plugin needs compatibility checks against the target version. Custom builds require their own build pipeline and rebuild on every upgrade. | Internal developers or partner (one-time for testing, recurring for upgrades). Plugin authors may charge separately. |
| SSO and identity changes | Changing identity providers, callback URLs or user mapping requires coordination with identity owners and user-facing testing. | Identity team and partner (one-time). Identity platform licensing, if any, is set by its vendor (recurring). |
| Required replica topology | High availability clustering is an Enterprise plan feature. Read and search replicas add database and search components to build and monitor. | Mattermost plan vendor for licenses (recurring, per seat subscription). Cloud provider or your team for replica hosting (recurring). |
| Managed or self-run Kubernetes cluster | A managed cluster shifts control plane upkeep to the provider. A self-run cluster adds etcd backups, control plane high availability and upgrade planning. | Cloud provider for a managed service (recurring fees). Your platform team or partner for a self-run cluster (one-time build, recurring operations). |
| Network and TLS design | Ingress, load balancers, certificate management and internal DNS must be designed before cutover, and changes often extend testing. | Network and security teams (one-time design, recurring certificate renewal). Certificate authority or cloud provider may charge fees. |
| Acceptable downtime | A shorter downtime window requires replication, rehearsed cutover steps and a rollback path, which increases planning and test effort. | Business owners set the window. Partner and internal staff carry the rehearsal work (one-time). |
What usually goes wrong in a Mattermost Kubernetes move
Most failed moves trace back to a few decisions made during cutover planning: where files live, whether restores were ever tested, and how secrets and cluster versions are managed. Each card below names one risk and the check that prevents it before users are moved.
Local file storage left in place
Mattermost high availability needs shared file storage on Amazon S3, an S3-compatible service or NAS mounted on each node. Local file system storage will not work correctly in a cluster and risks corrupting files once more than one pod writes uploads. Confirm the object storage bucket, credentials and endpoint are set before the first pod starts, and test an upload from each replica.
HA cluster docsCutover without a tested restore
A migration that has only been exported once is not a plan. Run a full database dump, file copy and restore into a staging namespace, then open the restored instance and check users, channels, attachments and posts. Record how long the restore took so the cutover window is based on a measured run, not an estimate.
Mismatched Mattermost and database versions
The new Kubernetes deployment must run a Mattermost server version that supports your PostgreSQL major version. PostgreSQL 14 is supported until November 12, 2026, while later majors extend further. Check the Mattermost server release notes and the PostgreSQL support table together, then pin both versions in your manifests so a rolling image pull cannot change them unplanned.
Plugin incompatibilities
Plugins such as Boards, Playbooks and Calls carry their own data and server requirements, and a plugin built for one server release may fail after the move. Inventory every installed plugin on the Linux or Docker server, confirm a version compatible with the target Mattermost release, and verify each plugin loads in staging before users reconnect.
Secrets stored unencrypted in etcd
Kubernetes stores Secrets unencrypted in etcd by default, which includes the database password, S3 access keys and the Mattermost configuration secrets carried over from the old server. Enable encryption at rest for etcd, restrict list and watch access with least-privilege RBAC, and consider an external store through the Secrets Store CSI Driver before the production namespace is populated.
Secrets good practicesUnplanned Kubernetes version skew
Kubernetes requires the kube-apiserver to be upgraded one minor version at a time, before controller managers, schedulers and kubelets, and kubelets may be up to three minor versions behind. An upgrade that skips this order can leave nodes unable to run the Mattermost pods. Record the cluster version, schedule control plane upgrades first and confirm node versions before each step.
- Max kubelet minor lag
- 3
Questions teams ask before moving Mattermost to Kubernetes
What drives the cost of moving Mattermost from a single Linux server or Docker host to Kubernetes?
The cost depends mainly on how much of the target platform you must build before Mattermost can run on it. The main components are the Kubernetes cluster itself (or access to one), an external PostgreSQL service, S3-compatible object storage, load balancing and DNS, the Mattermost Operator configuration, the data migration and validation work, and the cutover itself. Each component is either a one-time build cost or a recurring infrastructure cost, and the recurring part includes the cluster, the database, storage, backups and monitoring. Costs rise when the cluster does not exist yet, when the database is still a local instance, when attachments are large, when several environments must be built, or when the change window is tight. Ask any provider, including DeployOpen, for a quote that separates one-time work from recurring infrastructure and states which items the client supplies. DeployOpen does not publish prices; a quote follows from the written scope.
How long does a move from a single server to Kubernetes take?
The duration depends on the factors that set the amount of work, not on a fixed figure. The biggest drivers are whether the Kubernetes platform and PostgreSQL service already exist and are approved, how much data and how many attachments must move, how many integrations and plugins need retesting, whether you run a trial migration before the production cutover, and how quickly your approvals and change windows come through. Teams with an existing, hardened cluster and managed database usually shorten the schedule considerably, while teams that need new infrastructure, new identity configuration and security review should expect more time. Ask for a written timeline that lists each phase, the dependency for each phase, and the trial runs included, so you can compare it with your own calendar.
What does our internal team have to provide for the migration?
Your team needs to provide four things before work starts: access, a change window, named data owners and written approvals. Access includes the existing server, the database credentials, the cloud or data center accounts for the cluster, object storage and DNS, and the identity provider settings. The change window must cover the final export, the import, validation and the DNS or load balancer switch, plus a rollback path. Data owners decide which channels, users, attachments and retention rules are in scope and who signs off on the validation results. Approvals cover the security review of the new cluster, any change to the identity provider and the decision to retire the old server. Missing any of these usually lengthens the project more than any technical issue.
Can our own engineers migrate Mattermost to Kubernetes without a partner?
Yes, a capable team with Mattermost administration and Kubernetes skills can do the move in-house, and the Mattermost Operator documentation is the starting point. The risk lies in the parts that are easy to get wrong: running the export and import in the correct order, keeping file storage on object storage rather than local disk, securing the Kubernetes Secrets that hold database and storage credentials, configuring the external PostgreSQL correctly, and planning the cutover so users do not lose messages. Teams without recent Kubernetes operations experience often underestimate the work on RBAC, backups of etcd and the upgrade process. Decide early which parts you will own after go-live, and whether you want an independent review of the cluster and the cutover plan.
Is Docker acceptable for running Mattermost in production?
Mattermost says Docker deployments should not be used in production. Its container deployment documentation notes that Docker setups lack automatic failover, shared storage and load balancing, and it recommends Kubernetes for high availability. A single Docker host therefore keeps the same single point of failure as a single Linux server, even though the packaging is different. If your current environment runs Mattermost in Docker, treat the move to Kubernetes as the production step, not a cosmetic change, and confirm the current Mattermost recommendation with the vendor before you finalize the design.
Do we need a higher Mattermost plan to run a clustered deployment on Kubernetes?
Yes, high availability clustering is available only on the Enterprise and Enterprise Advanced plans, according to the Mattermost pricing page and high availability documentation. Running more than one application replica with shared state requires that plan level, and the cluster also needs shared file storage on Amazon S3, an S3-compatible service or NAS mounted on each node, since local file system storage will not work correctly. The Professional plan includes SSO and AD/LDAP sync, so an organization that needs only a single application instance on Kubernetes may stay on a lower plan. Confirm the plan that matches your replica count and identity requirements with Mattermost sales, because pricing is not published and is based on seat licenses.
How the target Kubernetes components connect
Traffic starts at users and enters the cluster through ingress, which hands requests to Mattermost pods managed by the Operator. Those pods are the trust boundary's inside edge: they reach an external PostgreSQL primary for writes and read replicas for reads, and they reach S3-compatible object storage for files, which replaces the local disk on the legacy server. Check that every pod sees the same bucket and that the database and storage endpoints are reachable only from the cluster network, and plan the cutover from the legacy server as a separate, sequenced path.
Request path, data services and the cutover path from the legacy server.
What the migration changes for users and administrators
For users, the most visible change is the address. The new Kubernetes ingress or load balancer will usually sit behind a different hostname or certificate, so the ServiceUrl setting and any reverse proxy, bookmark, mobile app server entry and integration callback must be planned as part of cutover, not discovered afterward. If single sign-on is re-pointed to a new redirect URI, users may be asked to sign in again, and sessions from the old server will not carry over. Plan the write freeze as a published downtime window, and confirm with your team how long in-flight messages and file uploads are held during the freeze. Attachment links deserve a specific check: file references are stored with the file store, so confirm after a trial run that links to files opened before the move still resolve from the new storage backend, and tell users which previously shared links may need reposting.
For administrators, the largest change is who operates the platform. Upgrades will no longer be a binary replacement on one host. They will run through the Mattermost Operator and the Kubernetes resources it manages, so the team needs a tested procedure for version changes, rollback and database migrations, and needs to align it with the monthly server releases and Extended Support Release dates published on the Mattermost server releases page. Monitoring and backup responsibilities also expand: database snapshots, object storage replication, Kubernetes cluster health and the Operator itself each need an owner, an alert and a restore test. Kubernetes access control becomes a separate security boundary. Decide who holds cluster-admin rights, who can read Secrets that contain database and S3 credentials, and how RBAC is reviewed, because the Mattermost administrators who previously had shell access to one server will not automatically have the same reach into the cluster.
Securing the Kubernetes target: secrets, access and pod settings
This sequence hardens the Kubernetes cluster that will run Mattermost before any application data moves into it, so secrets, access, pod settings and database connections are controlled and documented. The output is a target that a security team can review against its own baseline.
Confirm the distribution's Secrets encryption options
The platform team reads the documentation for the chosen Kubernetes distribution and records how it handles Secrets at rest. Kubernetes stores Secrets unencrypted in etcd by default, so the team must confirm whether encryption at rest is enabled through the API server encryption configuration, a managed key service, or an external secret store. Ask the distribution vendor which option applies and whether key rotation is supported. The step is done when the team has a written answer for each option and a named owner for the encryption keys.
Enable encryption at rest for Secrets
The cluster administrator configures encryption at rest for Secret resources, using the method confirmed in the previous step. Mattermost's database credentials, S3 access keys and license-related values will live in Secrets, so this setting protects them in etcd backups as well as on running nodes. Verify the change by creating a test Secret, reading the raw value directly from etcd with the appropriate tooling, and confirming it is not readable in plain text. Record the verification output and the key identifier in the change record.
Scope RBAC to least privilege for Mattermost
The team creates a dedicated namespace for Mattermost and binds roles that allow only the actions the Operator and administrators need. Access to Secrets should not include list and watch verbs for broad groups, because listing or watching Secrets exposes their values to anyone holding those permissions. Separate deployment rights from runtime rights, and keep cluster-admin access for a short, named list of people. The step is verified by impersonating each role with kubectl auth can-i and confirming that the results match the access matrix approved by the security owner.
Apply Pod Security Standards to the namespace
The administrator sets the Pod Security Standards level for the Mattermost namespace, starting with a warning or audit mode so that existing workloads reveal violations without being blocked. The team then reviews the Mattermost pod specification and the Operator-managed workloads for privilege escalation, host namespace use and writable root filesystems, and adjusts settings where the application allows. When warnings are clear, the team moves to enforce mode. The step is done when a test deployment that violates the chosen level is rejected and the Mattermost pods start cleanly under the enforced setting.
Check the cluster against CIS Kubernetes Benchmark items
The security engineer runs a benchmark scanner against the cluster and maps the failing checks to the CIS Kubernetes Benchmark sections that apply to control plane, worker nodes and policies. Each finding is either fixed, accepted with a documented reason, or assigned to the distribution vendor. Some checks depend on how the distribution was installed, so confirm the results with the vendor before changing settings the vendor manages. The step is complete when the team has a signed-off list of findings with owners and a rerun showing the agreed state.
Restrict network paths and admission to the database
The team limits which namespaces and pods can reach the external PostgreSQL service, and confirms that the database accepts connections only from the Mattermost network range and approved administrative hosts. On the PostgreSQL side, the administrator configures the authentication method in the host-based access file so that modern SCRAM password authentication or certificate authentication is used, and MD5 is not permitted. Confirm the PostgreSQL major version in use against the supported versions list before configuring it. The step is verified by attempting a connection from an unapproved pod and from an approved pod, and recording that only the approved path succeeds.
Record the baseline and schedule re-review
The team exports the final configuration of the namespace, RBAC bindings, Pod Security level, encryption settings and database access rules into the infrastructure repository, and writes a short baseline document naming the owner of each control. The baseline is linked to the change record for the cutover. The team also agrees with the security owner how often the benchmark scan and access review will be repeated, and who approves changes. The step is done when the baseline is committed, peer reviewed and attached to the migration plan.
Running the platform after cutover
Cutover ends the migration project, not the operating work. Four recurring tasks keep the platform recoverable and supported: restoring the etcd store behind the cluster, restoring PostgreSQL to a point in time, moving Mattermost between release tracks, and staying within Kubernetes version support. Ongoing support, upgrades and continuous testing can also be taken as a retainer after cutover.
etcd backups and restore testing
etcd stores the state of your Kubernetes cluster, including the objects that define the Mattermost deployment, and it keeps Secrets unencrypted unless you configure encryption at rest. Take snapshots with etcdctl snapshot save, store them off the cluster, and restrict access, since they contain sensitive data. A snapshot you have never restored is not yet a tested recovery plan. Schedule restores into a scratch cluster, record how long they took, and confirm who owns this job if you run a self-managed control plane or a managed service that hides etcd.
- Recommended production members
- 5
PostgreSQL backups and point-in-time recovery
Mattermost stores messages, channels and user records in PostgreSQL, so this database carries the data your users would miss most. Continuous archiving with a base backup and archived WAL lets you restore to a chosen moment, such as just before a faulty bulk import. Attachments live in S3-compatible storage, so a restore must be matched to the bucket state at the same time. PostgreSQL does not detect a failed primary on its own, so name the external failover tool and test it.
- PostgreSQL 14 support ends
- November 12, 2026
Mattermost upgrades on monthly and ESR tracks
Mattermost publishes a new server version on the 16th of each month, and Extended Support Releases carry a longer support window for teams that want fewer changes. Version 11.7 is an ESR supported until May 15, 2027, while the previous ESR, v10.11, reached end of life on August 15, 2026, so a deployment still on it receives no further vendor support. Pick one track for each environment, then rehearse every upgrade on a copy of the database and file store. Read the breaking-change notes for any major version before scheduling it.
Server releases pageKubernetes version support and skew
The Kubernetes project maintains the three most recent minor releases, which as of September 2026 were 1.37, 1.36 and 1.35. The version skew policy requires the kube-apiserver to move first, one minor version at a time, followed by the controller manager, scheduler and kubelets. Kubelets may trail the API server by up to three minor versions, which gives room to sequence upgrades, but plans should still move promptly. Confirm with the Mattermost Operator documentation which Kubernetes versions it supports before you choose a target.
- 1.35 end of life
- February 28, 2027
How DeployOpen scopes, delivers and supports the Mattermost migration
DeployOpen starts by writing down what your current single-server Mattermost holds and how it runs, then agrees the target Kubernetes design in writing before any work begins. The engagement covers the move, the cutover and the handover in your own infrastructure, with support available afterward as a retainer.
How we scope
- Inventory the current Linux or Docker host, database version, file storage, plugins and proxy settings before any design decisions.
- Agree in writing the target cluster, external PostgreSQL, S3-compatible storage, replica counts and the cutover window.
- Confirm which Mattermost plan and server version the target requires, and which features need that plan, with your account contacts.
How we build
- Deploy the Kubernetes environment with the Mattermost Operator in the cloud accounts or data centers you control.
- Move configuration, database and file data onto the new stack, then test a full trial run against a copy of production data.
- Verify logins, uploads, search, notifications and integrations on the new stack, and record the rollback steps for cutover.
How we hand over
- Deliver runbooks for the cluster, database, storage, secrets and the cutover, with the configuration files used for each.
- Document the verification results, known gaps such as webhooks or plugin data that need manual handling, and open decisions.
- Walk your platform and administration teams through daily operation, backups and restore tests before the engagement closes.
How we support
- Plan post-cutover support as a retainer covering monitoring review, upgrades across Mattermost releases and cluster maintenance.
- Schedule server and Kubernetes upgrades against the Mattermost release and support dates confirmed for your version.
- Review backups, restore procedures and security settings on an agreed cadence so the platform stays under your team's control.

