What moving Langfuse from Docker Compose to Kubernetes involves
A team that ran Langfuse on a single VM with Docker Compose for testing and now needs high availability and scaling should plan for two separate jobs. The application moves to the Langfuse Helm chart, which is the easier part. The real work is moving PostgreSQL, ClickHouse and blob storage data into stores that Kubernetes will run or that your platform team operates, and cutting over without losing traces that arrive during the switch. Langfuse documents its Docker Compose setup as lacking high availability, scaling and backup functionality, and recommends Kubernetes for high availability and high throughput, so the move is about gaining those properties, not only changing the runtime.
Effort depends on three things: how much trace history you need to keep, which data stores you run on the target cluster (bundled by the chart or existing managed or separately operated services), and how long you run the old and new stacks in parallel while SDKs are repointed. ClickHouse usually carries most of the volume, so ask for a measured size of your current clickhouse data directory and a copy method before estimating anything. The Helm chart can deploy the application containers and data stores by default, or point to existing PostgreSQL, ClickHouse, Redis and blob storage instances, and that choice changes who runs backups and upgrades. Confirm the target chart version and Langfuse release first, because the Helm path and the v1 to v2 chart upgrade requirement for bundled stores affect the plan if you later move to v4.
Quotes and plans should separate one-time work (data copy, cluster build, cutover rehearsal, SDK repointing) from recurring work (node capacity, backups, Langfuse and chart upgrades, Kubernetes version upgrades). Ask the vendor or partner to state which of these they include in the written scope, who performs the rehearsal, and how they will prove that trace counts match between the old and new deployments before the old VM is retired. Keep the Compose stack running read-only until that check passes, and do not decommission it until backups of its PostgreSQL, ClickHouse and blob data have been restored successfully into a test namespace.
Which Compose components map to the Kubernetes deployment
This table maps each Docker Compose service in a self-hosted Langfuse proof of concept to its Helm chart deployment or to an existing external store. Read it as a checklist: for each row, decide whether the Helm chart runs the component or points to a service you operate, then redefine its configuration for the cluster.
| Component | Compose role | Kubernetes equivalent | What to redefine |
|---|---|---|---|
| Langfuse Web | Serves the UI and APIs from one container | Helm web deployment, which can be split into ingestion and UI deployments under heavy load | Ingress, replicas, CPU and memory requests, health probes and secret references |
| Langfuse Worker | Processes asynchronous events in one container | Helm worker deployment, scaled on CPU load | Replica count, resource requests and access to the same data stores as web |
| PostgreSQL | Runs as a Compose service on the VM | Bundled by the Helm chart by default, or an existing PostgreSQL instance you operate | Connection string as a Kubernetes secret, backups, storage class and high availability approach |
| ClickHouse | Runs as a Compose service with a local volume | Bundled by the Helm chart by default, or an existing ClickHouse deployment you operate | Persistent volume sizing, memory limits (at least 16 GiB for larger deployments) and backup method |
| Redis or Valkey | Runs as a Compose service for queues and caching | Bundled by the Helm chart by default, or an existing Redis or Valkey service | Authentication, persistence settings and network policy between pods |
| S3-compatible blob storage | Local volume or bucket configured in the environment file | Bundled by the Helm chart by default, or an existing S3-compatible bucket | Bucket names, credentials, endpoint and lifecycle or retention rules |
| Environment file and volumes | Holds settings and local data that Compose mounts | ConfigMaps, Secrets and PersistentVolumeClaims | Compose volumes and .env values do not carry over as-is, so every value must be re-entered deliberately |
What Docker Compose lacks that Kubernetes must provide
Langfuse documents Docker Compose on a single VM as a testing setup without high availability, scaling or backup. Moving to Kubernetes means someone owns each of the gaps below, from the application containers through the data stores to the cluster underneath them.
High availability for the application tier
Compose runs each container once on one host, so a single failed container or VM takes down tracing for every application that sends data to Langfuse. On Kubernetes, two or more replicas of Langfuse Web and Langfuse Worker can be spread across nodes, with probes and a load balancer in front. Check that each replica count is a deliberate decision and that rolling updates keep ingestion running.
Compose limitsSeparate scaling for web and worker
Langfuse Web serves the UI and APIs, while Langfuse Worker processes events asynchronously, so their load patterns differ. Scale the worker on CPU load as ingestion grows. Under heavy ingestion, split langfuse-web into separate ingestion and user interface deployments so that a burst of trace writes does not slow people working in the UI. Decide the split from measured load, not in advance.
Scaling guideBackups across every data store
Compose offers no backup function, so the team must build one. A Kubernetes deployment has four stateful components to protect: PostgreSQL, ClickHouse, Redis or Valkey, and the S3-compatible blob bucket that holds uploaded events and exports. Each needs a tested restore path and a retention period agreed with the people who own traces. Ask who restores ClickHouse, and how long a restore takes, before cutover.
Resource sizing against documented minimums
Langfuse documents minimums of 2 CPU and 4 GiB for web, worker and PostgreSQL, 1 CPU and 1.5 GiB for Redis or Valkey, and 2 CPU and 8 GiB for ClickHouse, with at least 16 GiB of ClickHouse memory for larger deployments. Kubernetes requests and limits must meet these floors on the nodes that will run them, with headroom for ClickHouse merges and backfills. Confirm node capacity and the ClickHouse memory allocation with your platform team before the first load test.
The cluster needs its own owner
Langfuse's Helm chart assumes a working cluster, but the cluster carries its own availability obligations. A production control plane usually spans at least three control plane nodes behind a TCP load balancer on port 6443, with etcd snapshots taken with etcdctl snapshot save. Name one owner for etcd backup and restore, control plane upgrades and node patching. Without that owner, a healthy Langfuse release can still fail during a cluster incident.
How PostgreSQL, ClickHouse and blob data move
PostgreSQL holds the relational state that makes Langfuse usable: organizations, projects, users, API keys, prompts and prompt versions, and the configuration that links them. It is usually the smallest store by volume, but it is the one whose contents must match the trace data in ClickHouse, so it should be copied in the same planned window. The documented approach at a high level is a logical dump from the Compose PostgreSQL container and a restore into the PostgreSQL instance the Helm chart points to, with the target schema prepared by the same Langfuse version.
- Dump from the source container: Take a consistent logical dump while Langfuse is stopped or ingestion is paused, so no rows change mid-copy.
- Restore into a matching version: Use a PostgreSQL major version that the target Langfuse release supports, and confirm the target version against the self-hosting docs for the version in use.
- Keep the schema owner and role names aligned: Connection strings in the Helm values must match the restored database and user.
- Verify row counts: Compare counts for projects, users, API keys and prompts between source and target before cutover.
Confirm the exact dump and restore commands against the Langfuse self-hosting docs for the version you run, and check that the target PostgreSQL meets the minimum version listed for your Langfuse release.
ClickHouse holds the high-volume analytical data: traces, observations and scores. This is where most of the history lives and where most of the time and disk goes during the move. The copy method is set by the documented ClickHouse procedure for your version, and the approach should be confirmed against current Langfuse docs before you plan the window, because the supported methods can change between releases. Ingestion should be paused first so that the copy covers a fixed range and the cutover does not leave a gap.
- Pause ingestion before copying: Stop writes or redirect SDKs to a queue so the copied dataset has a clear end point.
- Confirm the supported copy method: Check the current Langfuse self-hosting docs for the copy methods documented for your version and your ClickHouse version.
- Plan for about 3x disk headroom: Langfuse's v3 to v4 guide advises about 3x ClickHouse disk headroom when backfilling historic data, so size the target volume with that margin before starting.
- Match the ClickHouse version: Langfuse's v3 to v4 guide requires ClickHouse 25.12 or later, with 26.4 recommended, so the target must meet the version your target Langfuse needs.
- Compare counts after the copy: Check trace, observation and score counts for the copied window against the source.
Ask your ClickHouse operator to confirm the disk headroom and version in writing before any copy starts, because a copy that runs out of disk mid-way is hard to recover cleanly.
Blob storage holds the event payloads and media that Langfuse writes outside the database, such as raw event bodies and uploaded media attached to traces. The Compose setup typically keeps these in a bundled S3-compatible store, while the Kubernetes setup points at a bucket you control. Traces in ClickHouse can refer to objects in this store, so a missing bucket makes older traces show incomplete payloads even when every database row copied correctly.
- Identify the buckets and prefixes: List every bucket the Compose stack writes to, including event and media prefixes, before choosing a copy method.
- Sync to the target bucket: Use an S3-compatible sync tool to copy objects, keeping the same key layout so references still resolve.
- Keep credentials and endpoints separate: The Helm values need the target endpoint, bucket names and access keys, which should come from your secrets store rather than from the Compose file.
- Check a sample of references: Open traces with media after cutover and confirm the payloads load.
Confirm the bucket names, key layout and sync commands against the self-hosting docs for your Langfuse version, since the storage keys Langfuse writes are part of what must survive the move unchanged.
Sequence for a parallel run and cutover without losing traces
This sequence moves a Langfuse deployment from a Compose VM to a Helm-based Kubernetes deployment while both run, so traces, prompts and datasets reach the new instance without gaps and the Compose host can be retired on a planned schedule.
Inventory versions, SDKs and enabled features
Record the running Langfuse version, the PostgreSQL, ClickHouse, Redis or Valkey and blob storage versions, every SDK and OpenTelemetry exporter version that sends traces, and each Enterprise feature in use, such as RBAC roles, protected prompt labels, retention policies, audit logs and SCIM. Your platform team and each application owner should sign off on this list. Confirm which SDK versions require which Langfuse release before you choose a target version, because Python SDK v5 and JS/TS SDK v6 need Langfuse v4.59.0 or later. The step is done when one agreed inventory exists and every version gap is written down as a decision to make before copying data. Do not copy anything yet.
Settle version alignment before any data moves
Decide the target Langfuse version and confirm it matches the source version or has a documented upgrade path from it. Major upgrades such as v3 to v4 change the ClickHouse data model and require ClickHouse 25.12 or later, PostgreSQL 15 or later and Redis 7.0 or later, so the source and target schemas may differ. Plan the upgrade as its own change with its own rehearsal, and avoid combining it with the data copy if you can. Confirm with Langfuse's upgrade guides and your ClickHouse team how the copy will handle schema differences. The step is done when a written version decision exists and the copy method is agreed for that version pair.
Build the Kubernetes target with Helm
Deploy the Langfuse Helm chart into a non-production namespace, choosing whether the chart runs bundled PostgreSQL, ClickHouse, Redis and blob storage or points to existing services you operate. Apply the Kubernetes controls your organization requires, including secrets handling, Pod Security Standards, ingress, TLS and backup for the data stores. Confirm sizing against Langfuse's minimums for web, worker, PostgreSQL, Redis or Valkey and ClickHouse, and plan for splitting langfuse-web into ingestion and user interface deployments if ingestion is heavy. Your platform engineers own this build, and the step is done when the target passes a health check and an empty test instance accepts a trace.
Pilot with a subset of applications
Choose one or two applications with low trace risk and point their SDK or OTLP exporter to the new Kubernetes instance, using a separate project and separate API keys. Keep the Compose instance as the primary destination for everything else. Check that traces appear with the expected names, users, sessions, token usage and scores, and that the Kubernetes UI and API respond correctly under the pilot load. The step is done when the pilot applications have produced traces for a period your team agrees on and any configuration issues are fixed and recorded.
Run both instances in parallel
Configure the remaining applications so their SDKs or OTLP exports send each trace to both the Compose instance and the Kubernetes instance. Dual-sending keeps the two systems current while the historical copy is prepared. Track the send failures reported by each SDK, and watch worker queue depth and ClickHouse disk use on the new cluster. Compare trace counts for a sample window in both systems and investigate any mismatch before continuing. The step is done when counts for the agreed window match within the tolerance your team sets, and the parallel path has run without unexplained errors.
Copy history and verify counts and prompt versions
Copy historical traces, prompts and datasets from the Compose instance to the Kubernetes instance using the migration method agreed in the version step. Verify that trace and observation counts, scores, prompt versions and labels, and dataset items match between the two systems for the copied range. Check that API keys and project mapping are reproduced correctly, since these do not transfer automatically in every case. Keep the copy log and the verification results as evidence. The step is done when every verification check passes or each difference is explained and accepted by the data owner.
Pause ingestion, copy the delta and cut over
Schedule a short ingestion pause on the Compose instance and stop dual-sending so no new trace is written to a system that will be retired. Copy the delta that arrived after the historical copy finished, then repeat the count and prompt version checks for the final window. Change each SDK or exporter host setting to the Kubernetes endpoint in a controlled rollout, and confirm that new traces arrive in the new instance with no gap at the boundary. Without the pause and the final delta copy, traces written during the switch can be lost or duplicated. The step is done when all applications send to the new endpoint and boundary checks show no missing time range.
Retire the Compose VM after a retention window
Keep the Compose VM read-only and running for a retention window your compliance and engineering leads agree on, so teams can query or re-export data if a gap is found. Confirm that backups of the Compose data are stored under your own retention rules before any shutdown. Then stop the services, remove the VM or its storage according to your data deletion policy, and update runbooks and monitoring. The step is done when the final backup is verified, the deletion is recorded, and no application still references the old endpoint.
What makes a Compose to Kubernetes move cost more or less
Does the size of ClickHouse and blob data change the cost of the move?
Yes. The volume of trace history in ClickHouse and objects in S3-compatible blob storage determines how long data copies take, how much disk headroom you need, and how long verification runs. The Langfuse v3 to v4 guide advises about 3x ClickHouse disk headroom when backfilling historic data, so a large history can make that headroom the largest sizing item. Before quoting, ask for a count of traces, observations and blob objects, the current ClickHouse disk use, and whether historic data will be backfilled or left in the old store during cutover.
Do bundled or external PostgreSQL and ClickHouse change the work?
They change who operates the data stores and how much you build. The Langfuse Helm chart deploys the application containers and data stores by default, or it can point to existing PostgreSQL, ClickHouse, Redis and blob storage instances. Using existing managed or separately operated services adds connection settings, network paths, backup ownership and access controls to the scope, but it can reduce cluster work if your organization already runs those services well. Confirm which option your platform team will support for the next several years before estimating.
How does the number of applications and SDKs affect the effort?
Each application, service or SDK integration that sends traces must be repointed to the new endpoint, tested and monitored during cutover. Langfuse accepts OpenTelemetry traces over OTLP at its /api/public/otel endpoint, which can reduce per-application work when services already emit OTEL. Inventory every producer, including scheduled jobs and notebooks, and record which SDK version each uses. Older SDKs may need changes before the Langfuse version can move, so the inventory feeds directly into the upgrade decision.
Does moving to Kubernetes also require a Langfuse version upgrade?
It does not have to, but the choice has a large effect on cost and risk. Staying on your current version keeps the move to infrastructure only. Moving to v4 requires ClickHouse 25.12 or later (26.4 recommended), PostgreSQL 15 or later and Redis 7.0 or later, and it moves to an observations-first ClickHouse data model. Helm users with bundled data stores must upgrade the chart from v1 to v2 before upgrading Langfuse to v4. Combining both changes in one cutover adds rollback complexity, so many teams separate them. Check your current versions against these minimums first.
Do SSO, RBAC and other Enterprise features add to the cost?
They add configuration and sometimes a license cost. SSO through Auth.js providers such as Okta, Entra ID or Keycloak is part of the open source feature set, but project-level RBAC, protected prompt labels, data retention policies, audit logs and SCIM provisioning need an Enterprise license key. Each identity provider needs redirect URIs, group mapping and domain enforcement tested against real users. Ask the vendor for current pricing on the Self-Hosted Enterprise plan, which includes a support SLA, and factor identity work into the written scope.
Which costs are one-time and which recur after cutover?
One-time costs include the Kubernetes design, Helm values and secrets setup, data copy, verification and cutover. Recurring costs include cluster upkeep, node and storage capacity, backups and restore tests, certificate and secret rotation, monitoring, and Langfuse upgrades. The Kubernetes release cycle runs about three minor releases per year, and each minor version is supported for a limited window, so the cluster itself needs a standing upgrade plan. Ask for a quote that separates the build from a retainer covering these recurring tasks.
Can our own team do the move, and what decides it?
Yes, many platform teams can, provided they already run Kubernetes in production, can operate PostgreSQL and ClickHouse, and have staff available through the cutover window. The deciding factors are the Kubernetes skills already in place, the availability of a tested backup and restore process, and how much your team can absorb if cutover slips. Langfuse documents Kubernetes deployments for production, but the cluster, data stores and secrets remain your responsibility. A written scope lets you compare the internal effort with a fixed-scope partner quote.
What usually goes wrong during the cutover
Most failed Compose-to-Kubernetes cutovers are not caused by Kubernetes itself. They come from timing gaps, mismatched versions, unplanned chart upgrades, and infrastructure defaults that nobody owned. Each risk below has a check you can settle before the cutover window opens.
Traces lost in the cutover gap
Between the final data copy and the moment SDKs point at the new endpoint, traces written to the old Compose stack can land after your copy finished and never reach the new cluster. Prevention is a planned write freeze: stop or redirect ingestion, run a final incremental copy, confirm row counts in ClickHouse and PostgreSQL, then repoint SDK base URLs or OTLP endpoints. Keep the old stack running read-only until you have checked recent traces in the new UI.
Langfuse Helm docsVersion mismatch between copied data and target
Data copied from a Compose instance on one Langfuse version and loaded into a Kubernetes instance on another can fail schema assumptions or leave traces partly visible. Before copying, record the exact image tag running in Compose, then deploy the Kubernetes target on the same version so the copy and the application agree. Plan any major version change as a separate step with its own migration guide, not as part of the data move.
Chart upgrade needed for bundled stores
If the Helm chart deploys bundled PostgreSQL, ClickHouse, Redis or blob storage, the chart must move from v1 to v2 before Langfuse can be upgraded to v4. Teams that skip this step find the upgrade blocked partway through the cutover. Prevention is to decide early whether the target uses bundled or existing data stores, pin the chart and application versions in version control, and rehearse the upgrade path on a copy of the data.
Secrets unencrypted in etcd
Kubernetes stores Secrets unencrypted in etcd by default. Langfuse needs database passwords, the NextAuth secret, salt and encryption keys, and object storage credentials, so a default cluster exposes all of them to anyone who can read etcd backups or the datastore. Before go-live, configure encryption at rest for Secrets, restrict list and watch permissions with least-privilege RBAC, and consider an external store through the Secrets Store CSI Driver.
Secrets good practicesUnderprovisioned ClickHouse memory
Compose setups often run ClickHouse with whatever memory the host had free, and that sizing carries over poorly to a cluster. Langfuse's scaling guide lists 2 CPU and 8 GiB as the ClickHouse minimum, with at least 16 GiB for larger deployments. Ask your platform team to size nodes and resource limits against that guidance, load-test ingestion at expected volume, and watch memory during the historic backfill, which needs extra disk headroom.
Unowned etcd backup plan
A managed or hosted cluster may back up etcd for you, but a self-built control plane often does not, and a restore is rarely tested. Name one owner for etcd snapshots, schedule snapshots with etcdctl snapshot save, store them off-cluster, and rehearse a restore with etcdutl before cutover. Confirm with your distribution vendor who owns control plane backups if you do not run the control plane yourself.
Operating etcd clustersWhat the Kubernetes cluster must provide before Langfuse runs
The cluster has to meet a set of prerequisites before the Langfuse Helm chart is installed, because the chart assumes a working control plane, a supported Kubernetes minor version and sane defaults for Secrets and workloads. Start by choosing a minor version that is still maintained. As of September 2026, the Kubernetes project maintained 1.37, 1.36 and 1.35, so confirm the current list on the Kubernetes releases page before you commit. Respect the version skew rules: kube-apiserver must be upgraded one minor version at a time, kubelets may be up to three minor versions older than the API server, and upgrades must follow the order apiserver, then controller manager and scheduler, then kubelets. Ask your distribution vendor, or your platform team, whether the distribution is CNCF conformant. The team should confirm this, along with the APIs and storage classes the chart needs in its own environment.
If you run the control plane yourself, plan for high availability before Langfuse goes into production. The kubeadm HA guide describes a stacked topology, with etcd on the control plane nodes, and an external etcd topology, with at least three control plane nodes and a TCP load balancer in front of kube-apiserver on port 6443. Etcd should run with an odd number of members, and the Kubernetes documentation recommends five members in production. The etcd backup plan is the control most often missing at this stage. Schedule regular snapshots with etcdctl snapshot save, store them outside the cluster, and rehearse a restore with etcdutl in a non-production cluster. Without this, a control plane failure can take the Langfuse namespace, its Secrets and its configuration with it, even though the trace data lives in PostgreSQL, ClickHouse and blob storage.
Secrets and access controls need explicit decisions. Kubernetes stores Secrets unencrypted in etcd by default, and the Langfuse chart places database credentials, the NextAuth secret, the salt and encryption keys in them, so enable encryption at rest for Secrets or use an external store through the Secrets Store CSI Driver. Restrict list and watch on Secrets with least-privilege RBAC, and give the Langfuse service accounts only the permissions they need. Apply the Pod Security Standards to the Langfuse namespace, typically at the restricted level if your containers and volumes allow it, and test the chart's pods against that level before cutover. Confirm how your identity provider maps to cluster users, since Kubernetes authenticates humans through certificates, OIDC tokens or a proxy rather than user objects. Use the CIS Kubernetes Benchmark as a checklist for hardening, and confirm which of its items your distribution already covers.
How the Compose and Kubernetes environments run in parallel during cutover
The diagram starts with SDK and OTLP clients sending duplicated traffic to both the Compose VM and the Kubernetes release while both run. PostgreSQL and ClickHouse move first in bulk, then a delta copy follows after ingestion pauses. Blob storage is copied across its own trust boundary. Repointing SDK hosts happens only after the delta copy and checks pass, and the Compose VM is retired last. Check that each copy lands before the source is retired.
Two environments run side by side, with data copied across trust boundaries.
Common questions before moving Langfuse to Kubernetes
What drives the cost of moving Langfuse from Docker Compose to Kubernetes?
The cost depends mostly on how many data stores you move, how much trace history must follow you, and how many environments need the same treatment. Your team pays in internal time for platform, security and application owners, while an implementation partner is paid for the written scope. Ask any quote to separate one-time work (cluster preparation, Helm values, data copy, cutover rehearsal, runbooks) from recurring work (upgrades, backup testing, monitoring, support). Costs rise with ClickHouse volume, the number of SSO and network integrations, and any requirement for high availability tested under load. Ask for the assumptions behind each line so you can compare quotes on the same basis.
Can our own team move Langfuse to Kubernetes without a partner?
Yes, a team with Kubernetes, PostgreSQL and ClickHouse experience can do the move, and the Langfuse Helm chart is designed to run against the Kubernetes cluster you already operate. The questions to answer honestly are whether someone on the team has run stateful workloads in production, who owns on-call once cutover is complete, and whether anyone has rehearsed restoring ClickHouse and PostgreSQL from backup. Compose gives no high availability, scaling or backup functionality, so those capabilities must be designed and tested by you. If one or more of those skills is missing, a fixed-scope engagement can cover the gap while your team keeps ownership.
What does the move need from our platform and security teams?
Platform teams need to supply a cluster, storage classes, ingress, DNS, certificates, and a decision on whether PostgreSQL, ClickHouse, Redis or Valkey and blob storage run inside the cluster or as existing services. Security teams need to review how secrets are stored, since Kubernetes Secrets are unencrypted in etcd by default unless encryption at rest is configured, and how least-privilege RBAC and Pod Security Standards are applied. Identity owners should confirm the SSO provider and whether password sign-in will be disabled. Network teams should confirm egress for email, telemetry and any model or SDK endpoints. Agree these owners in writing before the build starts.
How long does a move from Docker Compose to Kubernetes take?
Duration depends on the number of environments, the size of the ClickHouse and PostgreSQL data sets, the state of your cluster, and how many stakeholders must approve the cutover window. The largest variable is usually data movement and verification rather than the Helm install itself. Ask for a plan with named phases: cluster readiness, a staging deployment, a rehearsed data copy with row and trace counts checked, a cutover window, and a post-cutover observation period. Your own team's calendar and change-approval process will also set the pace. Any timeline in a proposal should be tied to that written scope rather than to a generic figure.
Can we keep our traces without a gap during the cutover?
You can keep traces continuous if you run the new deployment alongside the Compose instance and move ingestion in a controlled order, but historic data does not appear in the new system by itself. Plan for three streams: new traces during the switch, historic traces copied from ClickHouse, and PostgreSQL records such as projects, API keys, prompts and datasets. The usual approach is to pause or dual-send ingestion for a short window, copy history, verify counts and sample traces, then point SDKs at the new endpoint. Confirm with your application teams whether their SDKs can switch endpoints without a redeploy, and rehearse the whole sequence in staging first.
Which parts of Langfuse data need the most care when moving?
ClickHouse holds traces, observations and scores and is usually the largest and most time-consuming part to copy. PostgreSQL holds the configuration that makes traces usable, including organizations, projects, users and API keys, so losing it breaks ingestion for applications that rely on those keys. Blob storage holds event payloads and exports that the application references. Redis or Valkey is a cache and queue, so it generally does not need migrating, but you should confirm that for your version. Verify each store separately with counts and spot checks, and keep the Compose volumes untouched until you have a tested rollback.
What does a fixed-scope engagement for this move cover?
A fixed-scope engagement covers the work named in a written scope before it starts, usually including a review of the current Compose setup, Helm values for your target cluster, configuration of PostgreSQL, ClickHouse and blob storage in your infrastructure, SSO and secrets handling, the data copy and verification plan, a rehearsed cutover, backup and restore checks, and runbooks for your team. It does not include Langfuse's audit reports or certifications, which independent auditors issue, and it does not change your application code. Ask for the deliverables, acceptance checks, client responsibilities and what happens if the scope changes, and any ongoing support as a separate retainer.
Which Langfuse version should we target when moving to Kubernetes?
Choose the target version before you write Helm values, because the version sets the data store versions and the upgrade path. Langfuse's upgrade guidance says updates within a major version apply database migrations automatically at startup, while major upgrades follow dedicated guides. The v3 to v4 guide requires ClickHouse 25.12 or later, PostgreSQL 15 or later and Redis 7.0 or later, and Helm users with bundled data stores must move to chart v2 before v4. Avoid combining the platform move with a major upgrade unless you have tested both steps, and confirm SDK compatibility for your applications first.
How DeployOpen works on this
DeployOpen plans and delivers the move from a Docker Compose proof of concept to a Helm-based Kubernetes deployment inside your own infrastructure. Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts, so you know what changes and what is verified before cutover.
How we scope
- Inventory the current Compose stack, including PostgreSQL, ClickHouse, Redis or Valkey and blob storage volumes, and the Langfuse version in use.
- Agree the target cluster, managed or bundled data stores, and whether langfuse-web is split into ingestion and UI deployments.
- Confirm the Enterprise features in use, such as SSO, audit logs or retention, and whether a license key is needed before cutover.
How we build
- Stand up the Helm release in your cluster with resource requests sized to the Langfuse scaling guide minimums, then test ingestion and the UI.
- Copy PostgreSQL, ClickHouse and blob data from Compose into the new stores, then verify row counts, trace samples and prompt versions.
- Rehearse cutover with a short ingestion pause and a rollback path back to the Compose stack until traces are confirmed flowing.
How we hand over
- Deliver the written runbook covering the Helm values, secrets handling, data copy steps, verification checks and the cutover record.
- Document the backup and restore procedure for PostgreSQL, ClickHouse and blob storage, and where the Kubernetes etcd and Secrets settings are your responsibility.
- Walk your platform and security teams through the deployment so they can operate, review and upgrade it without our involvement.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover, scoped separately from the migration.
- Plan the Langfuse version and Helm chart upgrade path before the next major release, so upgrade work is scoped as its own engagement.
- Confirm with your team which support model fits, including whether the vendor's Self-Hosted Enterprise support plan is in scope.

