Why a Langfuse Helm chart v1 to v2 upgrade comes before v4
If your self-hosted Langfuse runs on the Helm chart with bundled data stores, the chart must move from v1 to v2 before you upgrade Langfuse to v4. Langfuse documents this as a required step on the supported path, so the Helm chart is the first change to plan, not the last. Skipping it or reversing the order is not a supported route into the v4 data model, and the v4 migration guide is written on the assumption that the chart step is already complete.
The reason bundled ClickHouse is affected is that chart version v2.0.0 changes how that database is deployed. From v2.0.0, the chart deploys bundled ClickHouse through the official ClickHouse Kubernetes Operator, rendering ClickHouseCluster and KeeperCluster resources instead of the v1 workload definitions. Your existing ClickHouse data lives in volumes that the v1 release manages, so the change touches the storage your traces sit on. Confirm with the Langfuse ClickHouse documentation exactly which resources and values the v2 chart renders in your version before you plan the cutover.
If you run PostgreSQL, ClickHouse and blob storage outside the cluster, the chart's bundled ClickHouse change does not apply to you in the same way. Those external stores are configured through connection values, and the v1 to v2 step is mainly about confirming that those settings still render correctly. Even so, the v4 requirements for ClickHouse, PostgreSQL and Redis still apply to the external services, so check them against your versions before the upgrade window.
What changes in the chart and what you must do
This table compares each area of the Langfuse Helm chart that changes between v1 and v2, the impact on a running installation, and the action to take. Read it before you edit any values file, because the bundled data store change affects how ClickHouse state is created and preserved. Items marked for confirmation depend on the exact chart release notes for your target version.
| Area | What changes | Impact on your installation | Action needed |
|---|---|---|---|
| Bundled ClickHouse deployment | From chart v2.0.0, bundled ClickHouse is deployed through the official ClickHouse Kubernetes Operator, which renders ClickHouseCluster and KeeperCluster resources. | Bundled ClickHouse is no longer a plain in-chart workload, so the rendered objects and their names differ from v1. | Review the rendered manifests with helm template before applying and confirm the resource names against the chart release notes. |
| Operator prerequisite | The operator and its custom resource definitions must exist in the cluster before the chart can render ClickHouse resources. | A missing operator or CRD can cause the upgrade to fail or leave ClickHouse pods unmanaged. | Confirm the operator version the chart expects and install it through your standard cluster change process. |
| Data preservation | Moving to operator-managed ClickHouse changes how the StatefulSet and volumes are owned. | Existing trace data sits on persistent volumes that must be retained and reattached, not recreated empty. | Take a ClickHouse BACKUP and confirm volume reclaim policies before the change, then verify row counts after it. |
| Values file keys | Bundled data store settings for ClickHouse, Keeper, PostgreSQL and Redis or Valkey may be renamed, restructured or given new defaults. | Old keys may be ignored silently, so resources, storage sizes or credentials can fall back to defaults. | Diff your values file against the v2 default values and confirm every key you override is still read. |
| External data stores | External ClickHouse, PostgreSQL and blob storage connection settings are separate from the bundled path. | Installations that use external stores may see fewer changes, but still need a values review. | Confirm which settings apply to your mode and keep external connection secrets unchanged. |
| Secrets and credentials | Chart-generated secrets for bundled stores can change names or be regenerated on upgrade. | A regenerated password can break connections between Langfuse and the data store. | Pin existing secrets in values or confirm they are reused before upgrading. |
| Langfuse version coupling | Chart v2 is a prerequisite for upgrading bundled installs to Langfuse v4. | Upgrading Langfuse to v4 on a v1 chart is not the supported path for bundled data stores. | Sequence the chart upgrade first, validate it, then plan the v4 upgrade separately. |
| Rollback | A chart upgrade that changes operator-managed resources is not reversed by a simple values revert. | Rolling back the chart may not restore the previous ClickHouse object layout or data placement. | Keep the v1 chart values and manifests, a tested backup and a written rollback runbook before starting. |
How the ClickHouse Operator switch changes your cluster
From chart version v2.0.0, the Langfuse Helm chart no longer creates bundled ClickHouse as a plain set of workloads you manage directly. Instead it renders ClickHouseCluster and KeeperCluster resources, and the official ClickHouse Kubernetes Operator reconciles them into running ClickHouse and Keeper pods. The practical consequence is ownership: the operator becomes the controller of the bundled ClickHouse nodes and their Keeper nodes, so changes to those components flow through the custom resources rather than through hand-edited StatefulSets or Services. Before you upgrade, confirm that the operator is installed in the cluster, which version the chart expects, and who on your team is allowed to create or change these resources. Check the current Langfuse ClickHouse documentation at Langfuse ClickHouse docs for the exact resource fields your chart version renders.
Storage deserves the closest review. Persistent volume claims for ClickHouse and Keeper data are requested through the operator's resource definitions, so the storage class, requested size and retention behavior should be reviewed in your rendered manifests before anything is applied. Confirm that the existing volumes from a v1 release are either preserved and rebound to the new resources or backed up and copied, because a new cluster object that does not match the old claims can start with empty data. Also confirm the storage class supports the access and expansion behavior you expect. These are the items that decide whether data survives the switch, so record them in your change plan and test them in a non-production namespace first.
Restart control also moves. When the operator manages the cluster, rolling restarts, configuration changes and pod replacements are driven by changes to the custom resources and the operator's reconciliation loop, not by a restart you trigger on a Deployment. Who applies a change, and who watches the rollout, should be written down for your team. Keeper matters here as well: ClickHouse Keeper replaces ZooKeeper for coordinating replicated tables, and the ClickHouse replication guide at ClickHouse docs: Replication describes Keeper as the coordination layer. Plan how Keeper quorum is kept during any node change, and confirm the Keeper node count and dedicated placement with the chart values you intend to use.
What to prepare before touching the release
The v1 to v2 chart change replaces how bundled ClickHouse is deployed, so the work before the upgrade is mostly about protecting data and knowing exactly what you are changing. Each card below is a preparation item that should be finished and signed off before anyone runs the chart upgrade.
Current PostgreSQL and ClickHouse backups
Take a fresh, complete backup of PostgreSQL and ClickHouse before any change to the release. Confirm where the backup is stored, that it is readable, and how long a restore takes. Because the v2 chart moves bundled ClickHouse under the ClickHouse Kubernetes Operator, treat the ClickHouse data as the item that must survive intact. A backup you have never restored is not yet a backup, so schedule a restore test on a spare cluster before you rely on it.
ClickHouse backup docsInventory of values overrides and custom resources
List every override in your values.yaml files, including ClickHouse storage, resource requests, replica settings, secret references and ingress. Also list any custom resources, patches or manifests your team applied around the Langfuse release, since they may conflict with the ClickHouseCluster and KeeperCluster resources the v2 chart renders. Compare each override against the v2 chart's values schema and mark what is kept, renamed or removed.
Pre-production cluster with representative data
Rehearse the full upgrade on a non-production cluster loaded with a copy of your production data or a representative sample of similar size and query shape. Use the same chart version path and the same Langfuse version you plan to run next. The rehearsal should record how long the ClickHouse data takes to move, which pods restart, and whether traces, prompts and scores are readable afterward. Ask your vendor or implementation partner which rehearsal results they will sign off on before production work starts.
Storage and disk headroom check
Confirm free disk on the ClickHouse volumes and the nodes that will host the new operator-managed pods before starting. Keep room for a temporary copy of data during the change and for the backups you just took. The Langfuse v3 to v4 guide advises about 3x ClickHouse disk headroom when backfilling historic data, which is a planning number for the next step, so size this upgrade with that later step in mind. Also confirm that the storage class you intend to use supports the volume expansion and PVC handling you expect.
Record of current chart and Langfuse versions
Write down the exact Helm chart version, Langfuse image tags for web and worker, and the ClickHouse, PostgreSQL and Redis or Valkey versions currently running. Export the live release with helm get values and keep the rendered manifests. This record tells you what to roll back to and lets the team confirm which versions were actually deployed, not just which were planned.
Confirmed rollback plan with named owners
Write the rollback steps for each stage: when to stop, how to restore the Helm release and data, and who decides. Name one owner for the go or no-go call, one for the database restore and one for communication to users. Agree on the conditions that trigger rollback before the window opens, such as failed ClickHouse pods or missing traces after cutover. Confirm that the rollback has been rehearsed in the pre-production cluster.
How to sequence the chart upgrade and data checks
This sequence takes a bundled-data Langfuse Helm installation from chart v1 to chart v2 with a verified backup, a rendered and reviewed manifest, a tested upgrade and a documented rollback point at every stage, leaving the Langfuse v4 upgrade as a separate project.
Confirm current chart and Langfuse versions
The platform owner records the installed Helm chart version, the Langfuse image tags for web and worker, and the values file currently in use, then compares them against the Langfuse v3 to v4 upgrade guide to confirm the installation is on a v3 release that can take the chart change. Confirm the exact chart version with your own cluster state, not from memory. The output is a dated inventory of versions, release names and values files, stored with the change record. This inventory is the first rollback reference, since it tells you which chart and image revisions to restore.
Back up every data store before any change
Platform engineering takes a PostgreSQL logical or physical backup, a ClickHouse backup using the BACKUP command to S3-compatible storage or another target you control, and a copy of the blob storage bucket configuration and contents. ClickHouse documentation notes that replication alone does not protect against human error or corruption, so the backup is a separate, required artifact. Save the Helm values and the rendered manifests from the current release alongside it. The checkpoint is a backup set that is listed and readable, and a written note of where each artifact lives. Do not proceed until every store has a backup.
Render the v2 chart and diff the output
Engineers run helm template against the v2 chart with the existing values file and compare the output with the manifests rendered from the current v1 release. The diff should show the bundled ClickHouse moving to ClickHouseCluster and KeeperCluster resources managed by the ClickHouse Kubernetes Operator, plus any changed value keys. Review each changed key against the chart documentation and mark it as adopted, replaced or intentionally removed. The checkpoint is a reviewed diff with no unexplained changes to storage, secrets or service names.
Apply the operator-based chart in a test cluster
Install or upgrade the same release configuration in a non-production cluster that holds a restored copy of production-like data. The team confirms the ClickHouse Kubernetes Operator is installed and reconciling, then watches the ClickHouseCluster and KeeperCluster resources until they report ready. Test the upgrade a second time from the restored state so that the rollback path is proven, not assumed. The checkpoint is a successful test upgrade and a successful test rollback, with the commands and timings recorded in the change record.
Verify ClickHouse and Keeper health and data counts
Before any production change, the database owner checks the ClickHouse cluster state, Keeper quorum and replica synchronization, then compares row counts and a small set of trace and observation queries against counts taken before the upgrade. ClickHouse documents that a recovered replica syncs missing data automatically, so replica lag should resolve on its own, but mismatched counts after the upgrade are a stop condition. Record the count queries and their results. The checkpoint is matching counts and healthy Keeper and replica state in the test environment.
Apply to production within an agreed window
The change owner schedules the production upgrade in a window agreed with application owners, repeats the backup step immediately before the change, and applies the reviewed values and chart version. Keep the prior release revision available so that a rollback to the recorded chart and values can be run without rebuilding them. Monitor pod status, operator reconciliation and ClickHouse health during the rollout. The checkpoint is a completed Helm revision with all workloads ready and the rollback command tested against the recorded revision.
Confirm the application works end to end
After the rollout, the team sends test traces through the ingestion endpoint, opens the web UI, runs a prompt read and a score write, and checks that worker queues drain. Compare the post-upgrade counts with the pre-change record and confirm that backups still run on schedule against the new ClickHouse layout. Only when these checks pass should the change be closed. The Langfuse v4 upgrade begins later as a separate project with its own infrastructure minimums, data migration and cutover plan, and should not be started inside this change window.
Rollback options by failure point
If the failure happens before the new chart reaches the cluster, nothing in ClickHouse or PostgreSQL has changed yet, so recovery mostly means keeping the old release definition available. The main risk is an incomplete preparation step that leaves your values out of step with the running release. Work in this order and keep each artifact in version control.
- Old release stays intact: Keep the v1 chart version and its values file pinned so you can reinstall the exact release if the new render fails.
- Capture current state: Export the running values with
helm get valuesand the manifest withhelm get manifestbefore any change, and store both outside the cluster. - Operator prerequisites: Confirm that the ClickHouse Kubernetes Operator and its custom resource definitions are present and compatible before the chart is applied, following the operator's installation notes.
- Precautionary backups: Take current PostgreSQL and blob storage backups so the application data layer has a restore point that does not depend on ClickHouse changes.
Check the chart's v2 release notes and the Langfuse v3 to v4 upgrade guide to confirm which values keys changed before you render the new chart.
From chart v2.0.0, bundled ClickHouse is managed by the ClickHouse Kubernetes Operator through ClickHouseCluster and KeeperCluster resources. When the operator reconciles those resources, pods, Keeper nodes and storage bindings can change, so the failure point is now a data store and not only a chart. Whether your data survives a chart rollback depends on how storage is handled, so confirm that before you rely on it.
- Revert the chart and check the data: A chart rollback can restore the v1 resource definitions, but it does not by itself bring back ClickHouse data that was removed or reinitialized.
- Storage claims: Confirm whether the PersistentVolumeClaims behind ClickHouse and Keeper survive deletion of their custom resources and a Helm rollback, and record the answer for your cluster.
- Keeper quorum: Check that every KeeperCluster member reports healthy before Langfuse reconnects, because ClickHouse Keeper coordinates replicated tables.
- Restore from backup: If tables are missing or empty, restore from a ClickHouse backup stored on S3-compatible storage into a fresh cluster, then verify row counts against your pre-change record.
- Replica recovery: A recovered replica syncs missing data from a healthy replica automatically, so a single-node failure is a different case from lost tables.
Check the operator's storage and deletion behavior in the Langfuse ClickHouse docs before the cutover window.
Once traffic flows into the upgraded deployment, the rollback target changes. Redeploying the v1 chart reverts deployment definitions only, and traces, scores and prompts written after cutover exist in the new layout and will not reappear in the old release. Recovery at this point is a restore decision that trades writes made since the last good backup against a return to an earlier state.
- Definitions versus data: Reinstalling v1 reverts the deployment definitions only, so the old release may show gaps or errors where the new layout already holds data.
- Restore point decision: Record the time of the last verified backup, list the writes that a restore would discard, and get sign-off from the data owners before any restore starts.
- Backup coverage: Backups protect stored data, but replication alone does not protect against human error or corruption, so keep copies in a location separate from the cluster.
- Restore rehearsal: A backup that has never been test-restored will probably not restore properly when needed, so run a restore to a spare cluster before cutover rather than during an incident.
- Coordinated restore: Restore PostgreSQL and blob storage to matching points in time so that references from ClickHouse and PostgreSQL still resolve.
Confirm the backup and restore steps against the ClickHouse backup documentation and the Langfuse v3 to v4 upgrade guide before you accept live traffic on the new chart.
How to test the upgrade before production
Test the chart upgrade on a copy of production that carries production-sized data, because a clean test cluster with empty tables will pass checks that production will fail. Confirm with your team which ClickHouse volumes, row counts and query patterns matter most, then load a representative snapshot into a staging namespace that runs the same chart version, Langfuse version and bundled ClickHouse topology as production. Replay real ingestion, and run the dashboard and API queries your users run every day, so that slow or failing queries show up before cutover. Include the ClickHouse Kubernetes Operator resources rendered by the v2 chart, since they are new to most teams and their behavior under your load is what you need to observe.
Restore tests matter as much as the upgrade itself. The ClickHouse backup documentation warns that a backup never test-restored will probably not restore properly when needed, and it recommends regular restore tests on spare clusters. Before you upgrade, restore a backup of the ClickHouse data and the PostgreSQL database onto a spare cluster, confirm the restored Langfuse instance starts and shows expected traces, and record how long the restore took. Replication does not protect against human error or corruption, so a restore test is the only evidence that your backups are usable.
After the upgrade, verify four things in order. First, confirm that all pods are healthy and that the ClickHouse and Keeper resources report ready. Second, check that ClickHouse replicas are in sync, since a recovered replica should sync missing data from a healthy replica on its own, and a replica that does not catch up is a failure to investigate. Third, confirm Keeper quorum holds, which needs an odd number of members and at least three nodes in production according to ClickHouse guidance. Finally, send test traces through the public API and OpenTelemetry endpoint, and confirm they appear in the Langfuse UI. Write these checks into a runbook so the same steps run during rollback testing.
What makes this chart upgrade take longer
This table lists the factors that most change the effort of a Langfuse Helm chart v1 to v2 upgrade, with the direction each pushes the work and what to confirm before scoping. Read each row against your own environment: the factors that add the most time are usually bundled ClickHouse data volume, the number of custom values and templates, and whether a non-production cluster exists to rehearse on.
| Driver | Effect on effort | What to confirm |
|---|---|---|
| Data size and disk headroom | Larger ClickHouse volumes lengthen the backup, the rehearsal restore and the cutover window, and the v3 to v4 guide advises about 3x ClickHouse disk headroom when backfilling historic data | Current ClickHouse disk usage, free capacity for a full backup, and whether backups already exist |
| Values overrides and custom templates | Each override of resources, persistence, probes, secrets or ingress must be mapped to the v2 values layout and retested, so heavy customization adds review time | Number of values files, any patched or forked templates, and who owns them |
| Kubernetes version and distribution | Older or managed distributions may need a cluster upgrade first, and the operator-based ClickHouse deployment depends on the cluster meeting the chart's API requirements | Current Kubernetes minor version, distribution vendor, and the chart's stated minimum version |
| Storage class behavior | Persistent volume reclaim policy, volume expansion support and snapshot capability decide how safely data can be kept during a rebuild of bundled ClickHouse resources | Storage class names, reclaim policy, expansion and snapshot support, and volume binding mode |
| Number of environments | Each environment needs its own values mapping, rehearsal and sign-off, so effort scales with the count of dev, staging and production clusters | List of environments, their Langfuse and chart versions, and the promotion order |
| Bundled or external data stores | Bundled ClickHouse is recreated by the operator path, so it carries the most migration risk, while external ClickHouse, PostgreSQL and blob storage mainly need connection and secret changes | Which of ClickHouse, PostgreSQL, Redis or Valkey, and blob storage run inside the cluster |
| Access to a test cluster | Without a representative test cluster with a data copy, rollback and restore steps can only be proven in production, which raises risk and planning time | Whether a non-production cluster exists, its size, and whether production data can be copied there under your data policy |
Questions teams ask before upgrading the Langfuse Helm chart
Can our team do the Langfuse Helm chart v2 upgrade ourselves?
Yes, if your team already runs Kubernetes workloads, can read Helm values and has a tested restore path for its data stores. The upgrade changes how bundled ClickHouse is deployed, so the work is more than a version bump. Your team needs to review the chart's values changes, plan the operator rollout in a non-production cluster first, and confirm that PostgreSQL, ClickHouse and blob storage backups work before touching production. Teams without that experience in-house often bring in a partner to write the scope, run the rehearsal and document the rollback steps, while keeping ownership of the cluster itself.
What drives the cost and effort of the Helm chart upgrade?
The main drivers are how your Langfuse installation is set up and how much change your environment needs around it. Cost usually rises with:
- Whether ClickHouse is bundled in the chart or external, since bundled ClickHouse is the path that moves to the ClickHouse Kubernetes Operator.
- The size and age of existing trace data, which affects backup time, rehearsal runs and disk planning.
- The number of clusters, namespaces, environments and custom values overrides you maintain.
- Who is paid for what: your staff time, any partner fees for planning and rehearsal, and cloud costs for temporary capacity during the test restore.
Most of this work is one-time. Ongoing costs are the ones you already carry for running the platform. Ask any quote to itemize these components.
How long does the upgrade take, and why is there no fixed figure without a scope?
No duration is given here because the time depends on your cluster, your data volume, your change approval process and how many environments need the rehearsal. A small test installation and a large production cluster with years of data are not comparable. Our published approach is a fixed-scope engagement, so the timeline is agreed in writing after we review your current chart version, values files, Kubernetes version and data sizes. Ask for a written plan that lists the environments, the rehearsal steps, the maintenance windows and the decision points where you can stop.
What does the upgrade need from our platform and data owners?
The work needs access and decisions from several groups before it starts:
- Platform engineering for cluster access, storage classes, node capacity and the change window.
- Data owners for retention expectations, backup targets and sign-off that the restore test reflects real data.
- Security for review of secrets handling, RBAC for the operator, and any Pod Security Standards your namespaces enforce.
- Application teams that send traces, so they can confirm SDK compatibility and expected downtime.
Identify these owners at the start, since delays in access approvals often set the schedule more than the chart work itself.
Does using an external ClickHouse avoid the ClickHouse operator change?
Yes. The switch to the ClickHouse Kubernetes Operator applies to bundled ClickHouse. From chart version v2.0.0, the Langfuse Helm chart deploys bundled ClickHouse through that operator, rendering ClickHouseCluster and KeeperCluster resources. If you run ClickHouse outside the chart, you still need to upgrade the chart to v2 before moving to Langfuse v4 when you use bundled data stores, but the operator-managed ClickHouse rollout does not apply to your external instance. Confirm which data stores your current values file enables, because some teams run a mix of bundled and external components.
What happens if the Helm chart upgrade fails partway through?
A failed upgrade is recoverable only if the rollback was planned before the change. Before you start, confirm backups of PostgreSQL and ClickHouse, a copy of your current values and chart version, and a documented way to return to the prior release. ClickHouse backups are only useful if they have been test-restored, since the ClickHouse backup documentation warns that an untested backup will probably not restore when needed. Plan for a restore test on a spare cluster and agree with your data owners what data loss is acceptable. The written scope should name these rollback steps and who makes the call to roll back.
How does this chart upgrade relate to the later Langfuse v4 upgrade?
The chart upgrade is a prerequisite step. Langfuse notes that Helm users with bundled data stores must upgrade the chart from v1 to v2 before upgrading Langfuse to v4. The v4 guide then adds its own requirements, including ClickHouse 25.12 or later, PostgreSQL 15 or later and Redis 7.0 or later, plus an observations-first ClickHouse data model and extra disk headroom during backfill. Treat the chart upgrade as the first stage of one plan, so the v4 infrastructure checks, the background migration review and the backfill sizing can start from a stable base. Doing the chart work in isolation can leave your team rehearsing the same restore twice.
How the chart upgrade fits between v1, v2 and Langfuse v4
The path starts with a Helm chart v1 install that runs bundled data stores, so the first hand-off is a verified backup of that data before anything changes. The chart moves to v2, where bundled ClickHouse is deployed through the ClickHouse Kubernetes Operator, and the team checks that Langfuse still works and that data is intact. Only after that verification does the separate Langfuse v4 upgrade begin. A failed check sends the team back to the backup, so the rollback path is planned before the chart change starts.
Phases of the chart upgrade, with the rollback path back to the verified backup.
What the Kubernetes platform must support first
Before you touch the chart, confirm that your cluster is on a Kubernetes minor version that is still supported. The Kubernetes project maintains only the three most recent minor releases, so a cluster on an older line may need its control plane upgraded before any Langfuse work starts. Because the v2 chart renders ClickHouseCluster and KeeperCluster resources through the ClickHouse Kubernetes Operator, the operator itself must be installed and compatible with your cluster version. Check the Langfuse chart documentation for the operator version it expects and the Kubernetes versions it has been tested against, and record both in the change plan.
Plan the control plane upgrade under the version skew rule: kube-apiserver is upgraded one minor version at a time, before kube-controller-manager, kube-scheduler and kubelets, and kubelets may be up to three minor versions older than the API server. If your platform team is several minor versions behind, the Langfuse upgrade will be sequenced after those cluster upgrades, not run alongside them. Also confirm that your distribution is a CNCF-conformant Kubernetes offering, since conformance checks that the required Kubernetes APIs are present, which is what the chart and operator depend on. Ask your distribution vendor to confirm conformance for the exact version you run.
Take an etcd backup before the upgrade and confirm that Secrets are encrypted at rest. Kubernetes stores Secrets unencrypted in etcd by default, and the Langfuse values file and the credentials for PostgreSQL, ClickHouse and blob storage often live there, so encryption at rest and least-privilege RBAC on Secrets should be verified rather than assumed. For etcd, use etcdctl snapshot save to create the backup and confirm that a restore procedure exists and has been rehearsed by someone other than its author. An etcd snapshot protects the cluster state, not the ClickHouse data, so it is a platform safeguard that sits alongside the data backups covered elsewhere in this plan.
How DeployOpen scopes and delivers the chart upgrade
The sequence turns an existing bundled-data Langfuse Helm release on chart v1 into a chart v2 installation with a tested rollback path and written evidence of the result. Each step ends with a check the client can review before the next one starts.
Agree a fixed written scope
DeployOpen reviews your current chart version, Langfuse version, cluster details and the data stores the release runs, then writes down the scope, deliverables and acceptance checks before work starts. The scope states which parts are bundled (ClickHouse, PostgreSQL, Redis or Valkey) and which are external. Done when both sides have signed off the written scope and a quote that follows from it.
Review values and customizations
DeployOpen compares your current values file with the chart v2 values structure, flags every customization such as resource requests, storage classes, ingress, secrets references and node placement, and lists which keys change, move or need a decision. Your platform team confirms each decision in writing. Done when every changed key has an owner and a documented reason.
Prepare backups and confirm restore
Before any change, DeployOpen takes backups of the PostgreSQL database, the ClickHouse data and the blob storage bucket, and records where each copy lives. ClickHouse guidance warns that a backup never test-restored will probably not restore when needed, so the team restores a copy to a spare environment and checks row counts and application startup. Done when a restore test has passed and the backup location is recorded.
Build a test cluster and rehearse
DeployOpen stands up a non-production cluster that mirrors the production chart values, data store versions and network paths, restores the backup into it and runs the chart v2 upgrade there first. The rehearsal records the exact commands, the operator resources that appear and any warnings. Done when the rehearsal completes and the team has a reviewed runbook based on what happened.
Run the production upgrade with checkpoints
The production upgrade follows the runbook in stages, with a named checkpoint after the chart change, after the ClickHouse Kubernetes Operator resources reconcile, and after Langfuse pods report healthy. At each checkpoint DeployOpen confirms pod status, data store health and a sample ingestion and read path, and keeps the previous release revision available for rollback. Done when every checkpoint is signed off or a rollback has been executed and recorded.
Confirm rollback and the Langfuse v4 path
DeployOpen tests the rollback procedure against the stored previous revision and backups, then checks that the chart v2 release meets the prerequisites in the Langfuse v3 to v4 upgrade guide, including the ClickHouse, PostgreSQL and Redis versions. Any gaps are logged as separate work rather than handled in this release. Done when the rollback test is documented and the v4 prerequisites are listed as met or open.
Document the result and hand over
DeployOpen delivers a written record of the final values, the chart and Langfuse versions, the operator resources, backup locations, test results, checkpoint sign-offs and known open items, so your team can operate the release and audit the change. The handover includes a walkthrough with the operators who will run it. Done when your team confirms receipt and the open items have owners.
Keep upgrades on a retainer
For organizations that expect repeated Langfuse and chart upgrades, DeployOpen offers a retainer that covers ongoing upgrade planning, testing and support under a written agreement. Quotes for a one-off engagement or a retainer follow from the written scope, so the cost depends on the systems, customizations and test effort you agree to. Done when a scope and quote are agreed for the next upgrade cycle.

