Upgrading Medplum on Kubernetes with the Helm chart

A self-hosted Medplum upgrade on Kubernetes is a sequence of pinned Helm releases, one minor at a time, with readiness checks and migration waits between each stop. This page explains how to plan and run it.

On this page

Why a Medplum Kubernetes upgrade needs a pinned, stepwise plan

A Medplum upgrade on Kubernetes is a series of pinned helm upgrade runs, one minor version at a time, each followed by a readiness check before the next step. Self-hosted Medplum cannot jump between minor versions, so the plan is a sequence of stops, not a single change to the latest release. Teams usually upgrade for one of three reasons: a security patch they must apply, a major or minor line that is nearing the end of its support window, or a feature the new version needs.

Medplum's versioning policy sets the clock. Each major version gets one year of Active support and one year of Maintenance, with an Enterprise extension of 12 more months of security patches for 36 months in total. Security patches target 7 days for critical vulnerabilities (CVSS 9.0 or higher) and 14 days for high ones (CVSS 7.0 to 8.9). Patch releases arrive weekly, and minor releases two to three times a year, so a deployment that falls behind can quickly sit several stops from the current release. Confirm which support tier your contract covers before you set a target date.

The rest of this page covers how to keep each run reproducible: pinning the chart with --version, matching the chart version to the application image, deciding when overriding the image tag is acceptable, waiting for readiness before moving on, and keeping a rollback path open. The Medplum upgrading guide explains why skipping a minor, such as moving from v3.1.2 straight to v4.3.4, causes startup failures, and it warns that post-deploy data migrations can run for hours or days on large datasets. Before you start, record your current chart and image versions, confirm which minor versions sit between you and the target, and agree with your team who approves each stop.

What changes between Medplum releases and what each change asks of you

This table maps each kind of change in a Medplum Helm upgrade to its impact on your cluster and the action you need to take. Read it before each helm upgrade, and treat each minor version as a separate stop with its own release notes. The main takeaway is that the chart version, application version and image tag must agree, and that skipped minors or long migrations can block a rollout.

ChangeImpactAction needed
Shared version numberChart, application package and Docker images use one version, so chart 5.1.17 deploys application 5.1.17 by defaultPin --version to the target release for production upgrades
Image tag overrideOverriding the image tag can make chart and application versions divergeAvoid overrides, or record the reason and confirm the pairing with Medplum
Minor version sequenceEach minor must be applied in order, so the path cannot jump aheadPlan every intermediate minor between your current version and the target
Skipped minorsSkipping a minor, such as v3.1.2 straight to v4.3.4, causes startup failuresDo not skip; stop at each minor and confirm the pods become ready
Post-deploy data migrationsMigrations can run for hours or days on large datasetsMonitor migration progress before moving to the next minor
Security patch targetsMedplum targets patches within 7 days for critical (CVSS 9.0 or higher) and 14 days for high (CVSS 7.0 to 8.9) issuesTrack the release feed so you can schedule patch upgrades inside these targets
Latest release at research timeVersion 5.2.5 was the latest release, published October 15, 2026Confirm the current latest version and read the release notes for every stop on your path

How chart, application and image versions must match

Medplum's Helm chart, application packages and Docker images share one version number. Chart 5.1.17 deploys application 5.1.17 by default, so the chart version is the single value that determines what runs in your cluster. Pin the chart with --version on every production helm upgrade so the target is explicit in your change record and cannot shift when the repository index moves. Confirm the chart version you pin matches the application release you intend to test in staging, and record both in the change ticket.

Overriding the image tag, usually through an image.tag value in your Helm values file, breaks that guarantee. The chart still renders templates written for its own release, but the container runs a different application build, so the chart and application versions diverge. Medplum warns that this can cause mismatches, and the failure is often subtle: the pods become ready while migration logic, configuration keys or API behavior expect the other version. Treat any override as a change to the release itself, and keep the values file that contains it under version control so the next upgrade does not inherit it silently.

An override is only defensible in narrow cases, and each condition should be confirmed in writing before you use one. Ask Medplum whether the specific patch build is supported on your chart version, confirm that the build was tested against your own data and configuration in staging, and confirm that it is a patch within the same minor line. Name a rollback path that returns to the matched chart and image pair. If any condition cannot be confirmed, deploy the matched chart version instead, even if that means waiting for the next published release.

The decision path for each Medplum minor on Kubernetes

The path starts with confirming the running Medplum version and pinning the target chart version, so the chart and application stay on the same release. Next, helm upgrade runs with --wait, and the pods must reach readiness before anything else happens. The operator then checks that post-deploy migrations have finished, because the next minor should not start while they are still running. A failed readiness check or an unfinished migration sends the operator to a rollback decision, not forward to the next stop.

One upgrade stop, repeated for each minor in the path.

What to prepare before the first helm upgrade

Each card is a gate you should clear before the first Medplum chart upgrade on your cluster. Together they give you a restore point, a rehearsal environment and a clear picture of what the new chart will change.

Verified PostgreSQL backup and restore

Take a fresh backup of the Medplum PostgreSQL database and confirm you can restore it into a separate instance. A backup that has never been restored is an assumption, not a rollback plan. Record who runs the restore, where the backup is stored and how long the restore took in your environment, because post-deploy data migrations can change the schema and data in ways that make the old version difficult to return to without it.

Upgrade guide

Redis cache state and rebuild

Medplum uses Redis as its cache. Confirm that nothing you need to keep lives only in Redis, and decide whether you will flush it or let it warm up after the upgrade. Check how your Redis deployment is provisioned (managed service, in-cluster chart or external instance) and whether a restart or replacement during the rollout affects sessions or rate-limit counters for your users.

Inventory of Helm values overrides

Export the values you currently apply to the Medplum release, for example with helm get values, and compare them with the defaults of the chart version you plan to install. Note every custom key, secret reference, ingress setting and environment variable. Overrides that were correct for the old chart may be renamed or removed, and a silent difference here is one of the most common causes of a failed rollout.

Staging cluster on the same Kubernetes version

Rehearse the upgrade on a staging cluster that runs the same Kubernetes minor version as production, with a similar node pool, ingress controller and database connectivity. Use the same chart version you plan to pin in production. The staging run is where you learn how long readiness takes, whether post-deploy migrations start, and what the rollback path looks like on your own infrastructure.

Kubernetes minor version check

Confirm your cluster's minor version is within the range the Kubernetes project still supports. As of September 2026 the supported minors were 1.37, 1.36 and 1.35, and the project publishes end-of-life dates for each. If you run an older minor, plan a Kubernetes upgrade one minor at a time before the Medplum change, and check that your managed service or distribution offers that version.

Supported minors
1.35 to 1.37
Kubernetes releases

Access and secrets review

List who can run helm upgrade, read the release secrets and edit the Medplum namespace. Confirm where database credentials, signing keys and identity provider secrets are stored, and whether they are encrypted at rest or pulled from an external store. Check that the service account used by the pipeline has only the permissions the upgrade needs, so the change is traceable and does not widen access to patient data.

How to run each helm upgrade stop with checks and rollback points

This sequence takes a self-hosted Medplum release from the running version to one target stop on Kubernetes, with a version pin, a reviewed values diff, a readiness check, a health check and a recorded rollback point at every stop. Each stop finishes before the next begins, so a failure is always traceable to one version change.

  1. Refresh the Helm repository index

    Run helm repo update on the workstation or pipeline runner that holds the cluster credentials, so the local index lists the chart versions published for Medplum. Confirm the target chart version appears with helm search repo against the Medplum repository alias your team uses. Record the exact chart version you intend to install, since that number also sets the application version by default. The stop is complete when the target version is visible in the local index and written in the change ticket.

  2. Record the current release state

    Capture the running state before changing anything: run helm list for the release, helm get values to export the live overrides, and kubectl get pods for the Medplum namespace. Store the exported values file in version control next to the chart version and the image tags in use. This snapshot is your first rollback reference, because helm rollback restores a revision number that you need to recognize later. The stop is complete when the current chart version, revision and values are saved outside the cluster.

  3. Diff the chart values against the current release

    Pull the target chart's default values with helm show values for the new version and compare them with the exported overrides using a text diff. Look for renamed keys, removed settings, new required fields and any image tag override that would make the chart and application versions diverge. Confirm with the Medplum release notes for that version whether a configuration change is expected. The stop is complete when every difference is either intentional and documented or resolved in the values file.

  4. Run helm upgrade with an explicit version and wait

    Run helm upgrade with the release name, the chart reference, the saved values file, an explicit --version flag set to the target chart version, and --wait so Helm blocks until the resources report ready. Keep the image tag out of the command unless your team has a documented reason to override it. Watch the command output for hook failures or timeouts. The stop is complete when Helm reports a successful upgrade and a new revision number appears in helm history.

  5. Verify pod readiness and the server health endpoint

    Check that every Medplum pod is Running and Ready with kubectl get pods, and inspect any pod that restarts with kubectl describe pod and kubectl logs. Then call the server health endpoint through the ingress or a port-forward and confirm it responds successfully. Check that the image tags on running pods match the target application version. The stop is complete when all pods are ready, the health check passes and the running image versions match the chart version.

  6. Confirm post-deploy migrations have finished

    Medplum can run post-deploy data migrations after a server starts, and these can take a long time on large datasets. Before you deploy the next stop, check the async job status in the Medplum admin interface and confirm the migration jobs for this version have completed without errors. Do not move to the next minor version while jobs are still running or failing. The stop is complete when the migration jobs for this version are finished and no errors remain in the server logs.

  7. Record a rollback point before the next stop

    After the health check and migration check pass, export the new values with helm get values, save the revision number from helm history, and note the previous revision that helm rollback would return to. Be aware that rollback restores the chart and configuration, but it does not reverse database changes already made by post-deploy migrations. Confirm with the Medplum upgrade documentation which changes can be safely reversed before you rely on this point. The stop is complete when the revision, chart version, values file and rollback caveats are recorded in the change ticket.

What makes a Medplum Kubernetes upgrade take longer

This table lists the factors that lengthen a self-hosted Medplum upgrade on Kubernetes, the direction each one pushes effort, and what to check before scheduling the work. Read it as a pre-upgrade inventory: the more rows that apply to your deployment, the more time the staging run and the cutover window need.

DriverEffect on effortWhat to check
Minor stops between current and target versionEach minor is a separate stop with its own deploy, readiness wait and post-deploy migration check, so effort grows with every step in the sequence.List every minor between your running version and the target, and confirm the latest patch for each in the Medplum upgrading guide.
Dataset size for post-deploy migrationsLarger datasets mean longer background migrations, and the next minor cannot start until the current one finishes.Measure record counts in the main resource tables and ask the Medplum team how migrations scale with data volume for your releases.
Custom Bots and integrationsEach Bot, Subscription and custom operation needs retesting against the new server, which adds test cycles and possible code changes.Inventory every Bot and integration, note which depend on server behavior, and plan a regression pass for each stop.
Helm value overrides and custom imagesOverrides that diverge from chart defaults must be re-validated on each chart version, and custom image tags can break the match between chart and application versions.Diff your values file against the chart defaults for the target version and record every image tag you override.
Kubernetes cluster version and skewIf the cluster is far behind the Kubernetes version the Medplum release targets, the cluster upgrade must happen first, adding a separate change window.Check the cluster's current minor, the Kubernetes version skew policy, and the Kubernetes versions supported by the Medplum release notes.
State of PostgreSQL and RedisAn outdated, undersized or unhealthy database or cache slows migrations and raises the risk of a failed stop, and a database major version change adds its own project.Confirm backup and restore tests, connection limits, free storage, replication health and the PostgreSQL version against the Medplum requirements.
Staging environment fidelityA staging cluster with less data, different overrides or different ingress and identity settings can pass tests that fail in production, forcing rework during cutover.Compare staging to production for chart version, values, database size, identity provider settings and network paths before relying on its results.

How to test each stop and when rolling back is safe

Test every minor version in staging before it reaches production, and treat each stop as a separate release. Run helm upgrade with the pinned --version against a staging release that mirrors production's values, database and Redis configuration, then work through a smoke test list: FHIR reads and searches against the base URL, a write and read-back on a test Patient, a GraphQL query, a sign-in through the identity provider you use (including MFA if it is enforced), a client credentials token request for a server-to-server integration, one Bot execution, and one Subscription that fires end to end. Confirm the pods report ready with kubectl rollout status before you start those checks, and watch the async job admin page or AsyncJob queries for any post-deploy migration still running. Do not start the next minor until that migration has finished and the checks pass again.

A helm rollback returns the Kubernetes objects to the previous revision, but it does not undo data. If the new server version ran a post-deploy migration that rewrote stored resources, the older server may not read that data correctly, and rolling back the chart alone does not restore the earlier schema or content. Before the upgrade starts, decide whether this stop will be rolled back at all, and if so, how long the window stays open and who owns the call. Confirm with Medplum's upgrade documentation which migrations are deferred and how to hold them back, and make sure your database backup or snapshot is taken and restore-tested before the first helm upgrade runs. The detailed conditions for when a rollback is still safe, and the steps for holding migrations until validation is complete, are covered in Safe Medplum rollbacks with deferred post-deploy migrations.

Questions buyers ask before upgrading Medplum on Kubernetes

Can our team run helm upgrade alone for a Medplum release?

Yes, for many minor and patch moves an experienced platform team can run the chart upgrade on its own, provided it pins the chart version, reads the release notes and watches the rollout. The harder part is what happens after the pods restart: the upgrade guide says each minor version must be applied in sequence, and post-deploy data migrations can run for hours or days on large datasets. Helm will not tell you whether those migrations have finished or whether the next minor is safe to start. Decide in advance who owns that monitoring and the go or no-go call at each stop.

What drives the cost of an outside Medplum upgrade?

The cost follows the work in the written scope, not the chart command itself. The main drivers are how many minor versions sit between your running release and the target, whether application code needs changes at a major boundary, how much of the data migration must be watched, how many environments need staging runs, and how much of your cluster, identity and database setup the engagement has to touch. Ask for a quote that lists each stop on the path, the staging tests, the rollback plan and the handover, and that separates one-time work from any retainer for later upgrades.

How long does a Medplum upgrade on Kubernetes take?

No single duration applies, because the timeline depends on the path and the data. Duration grows with the number of minor versions to cross, the time each post-deploy migration takes on your dataset, and how many staging cycles your change process requires. The upgrading guide notes that large migrations can run for hours or days, so a small clinical dataset and a large production store can differ by a wide margin. Ask for a timeline tied to your current version, your target and a measured migration run in staging.

What does the upgrade need from our team?

The engagement needs access and decisions more than hands on keyboards. Expect to provide cluster access with rights to run Helm and inspect workloads, a current database backup and a tested restore path, a staging environment that mirrors production configuration closely enough to rehearse migrations, and named owners for clinical sign-off, security approval and change control. Without a named owner who can accept a migration stop or a rollback, the work tends to pause at the first unclear decision. Confirm these items in the scope before work begins.

Is overriding the Medplum image tag acceptable during an upgrade?

Overriding the image tag is acceptable only as a deliberate, temporary step that is recorded and reviewed. Medplum's chart, application packages and Docker images share one version number, and Medplum recommends pinning --version for production upgrades. An overridden image tag can make the chart and application versions diverge, which makes later upgrades and support requests harder to reason about. If a hotfix image is required, document the reason, the image digest, the expected chart version and the date it returns to a matched release.

How does Kubernetes version skew affect a Medplum upgrade?

Kubernetes version skew determines whether the cluster can accept the Medplum release you plan to deploy and which control-plane components you may upgrade first. The version skew policy requires kube-apiserver to move one minor version at a time, before the controller manager, scheduler and kubelets, and allows kubelets to lag the API server by up to three minor versions. Before planning the Medplum stop list, confirm the cluster's Kubernetes version against the Kubernetes releases page, because an unsupported cluster version can block the upgrade regardless of the chart. Plan any cluster upgrade as its own change with its own rollback point.

What does a fixed-scope quote for this upgrade cover?

A fixed-scope quote, which most DeployOpen engagements use, covers the agreed scope, deliverables and timeline written down before work starts. For a Helm upgrade, expect the quote to name the current and target Medplum versions, each minor stop, the chart and image versions to pin, the staging rehearsals, the migration monitoring approach, the rollback conditions, the cutover window, and the documentation handed over. It should state what is excluded, such as cluster upgrades, database major version changes or application code changes at a major boundary. DeployOpen does not publish prices; the quote follows from that written scope.

How DeployOpen scopes, runs and supports a Medplum Kubernetes upgrade

DeployOpen approaches a Medplum Kubernetes upgrade as a written, fixed-scope piece of work inside your own cluster. We start by confirming the running chart and image versions, the target release and the Kubernetes version the cluster runs, then plan each Helm step, verification check and rollback point before anything changes in production.

How we scope

  • Inventory the running chart version, image tag, values files and the Kubernetes version of each cluster in scope
  • Agree in writing the target Medplum version, the minor-by-minor path and which environments are included
  • Confirm the Kubernetes version skew, database and post-deploy migration checks the upgrade depends on before quoting

How we build

  • Write the helm upgrade commands with an explicit --version pin and a reviewed values file for each environment
  • Test each minor step in a staging cluster that mirrors production configuration, including readiness and rollout behavior
  • Document the readiness checks, image tag decisions and any exception to the chart default, with the reason recorded

How we hand over

  • Deliver a runbook with the exact upgrade sequence, wait conditions, verification steps and rollback decision points
  • Provide the final values files, pinned chart versions and a record of every override that differs from the chart default
  • Walk your platform and Medplum operators through the procedure and the signals that mean a step should stop

How we support

  • Offer ongoing upgrade support and continuous testing for later Medplum releases as a retainer
  • Review each new patch and minor release against your pinned chart and override settings before a change window
  • Keep the runbook current as your cluster, chart or security requirements change, under the agreed scope

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.