langfuse

by Langfuse

Helm chartv2.3.0App 4.83.0Verified publisher

Open source LLM engineering platform - LLM observability, metrics, evaluations, prompt management.

About this chart

langfuse

Open source LLM engineering platform - LLM observability, metrics, evaluations, prompt management.

Homepage: https://langfuse.com/

Maintainers

NameEmailUrl
langfuse[email protected]https://langfuse.com/

Source Code

Requirements

RepositoryNameVersion
https://groundhog2k.github.io/helm-charts/postgresql(postgres)1.6.3
https://seaweedfs.github.io/seaweedfs/helms3(seaweedfs)4.23.0
https://valkey-io.github.io/valkey-helmredis(valkey)0.9.4

Values

KeyTypeDefaultDescription
clickhouse.auth.existingSecretstring""Existing Secret holding the ClickHouse password. When set, auth.password is ignored.
clickhouse.auth.existingSecretKeystring""Key within existingSecret that contains the ClickHouse password.
clickhouse.auth.passwordstring""Password Langfuse uses to authenticate to ClickHouse. Leave empty to have the chart generate one.
clickhouse.auth.usernamestring"default"Username Langfuse uses to authenticate to ClickHouse.
clickhouse.cluster.affinityobject{}Affinity rules for ClickHouse pods.
clickhouse.cluster.enabledbooltrueEnable ON CLUSTER DDL in Langfuse (CLICKHOUSE_CLUSTER_ENABLED). Disable only for an external non-clustered ClickHouse.
clickhouse.cluster.image.pullSecretslist[]Image pull secrets for ClickHouse pods (spec.podTemplate.imagePullSecrets on the ClickHouseCluster CR), e.g. [{name: my-registry-secret}]. Required when pulling from a private registry.
clickhouse.cluster.image.repositorystring"clickhouse/clickhouse-server"ClickHouse server image repository.
clickhouse.cluster.image.tagstring"26.8.36.3"ClickHouse server image tag. Keep aligned with the version recommended for Langfuse v4.
clickhouse.cluster.livenessProbeobject{}Liveness probe for ClickHouse pods (spec.containerTemplate.livenessProbe on the ClickHouseCluster CR). A full Kubernetes Probe that replaces the operator default entirely (no merge); the default is an HTTP GET on /ping on the interserver port 9009.
clickhouse.cluster.loggerobject{}Operator logger settings for the ClickHouse server (spec.settings.logger on the ClickHouseCluster CR): level, jsonLogs, logToFile, size, count. clickhouse-operator 0.0.8+ defaults to level: information; older operators default to the very verbose trace, so set level explicitly if you run one.
clickhouse.cluster.nodeSelectorobject{}Node selector for ClickHouse pods.
clickhouse.cluster.priorityClassNamestring""PriorityClass for ClickHouse pods.
clickhouse.cluster.profileSettingsobject{}Extra ClickHouse user profile settings mounted into users.xml.
clickhouse.cluster.readinessProbeobject{}Readiness probe for ClickHouse pods (spec.containerTemplate.readinessProbe on the ClickHouseCluster CR). A full Kubernetes Probe that replaces the operator default entirely (no merge); the default is an HTTP GET on /ping on the management HTTP port.
clickhouse.cluster.replicasint1Number of ClickHouse replicas. 1 is a valid single-pod cluster; 2+ requires Keeper enabled.
clickhouse.cluster.resourcesobject{"limits":{"memory":"4Gi"},"requests":{"cpu":"1","memory":"2Gi"}}CPU/memory for ClickHouse pods. Non-empty defaults avoid the operator's ~1Gi fallback that OOMs under load.
clickhouse.cluster.serviceAccountNamestring""Existing ServiceAccount for ClickHouse pods (spec.podTemplate.serviceAccountName). Leave empty to preserve the operator default. The account must exist in the release namespace; this value does not create it.
clickhouse.cluster.settingsobject{}Extra ClickHouse server settings applied under the <clickhouse> config section.
clickhouse.cluster.startupProbeobject{}Startup probe for ClickHouse pods (spec.containerTemplate.startupProbe on the ClickHouseCluster CR, requires clickhouse-operator 0.0.8+). A full Kubernetes Probe; the operator sets no startup probe by default.
clickhouse.cluster.storage.accessModes[0]string"ReadWriteOnce"
clickhouse.cluster.storage.classNamestring""StorageClass for ClickHouse PVCs. Leave empty to use the cluster default.
clickhouse.cluster.storage.sizestring"100Gi"Persistent volume size for each ClickHouse pod.
clickhouse.cluster.tolerationslist[]Tolerations for ClickHouse pods.
clickhouse.clusterDomainstring"cluster.local"Kubernetes cluster domain suffix the operator uses to build in-cluster DNS names for ClickHouse pods (spec.clusterDomain on the ClickHouseCluster CR). Change only if your cluster does not use the default cluster.local.
clickhouse.crdCheckbooltrueRequire ClickHouse operator CRDs when deploy is true. Disable for offline helm template/GitOps diffs (or pass --api-versions clickhouse.com/v1alpha1/ClickHouseCluster).
clickhouse.databasestring"default"ClickHouse database name Langfuse connects to.
clickhouse.deploybooltrueDeploy ClickHouse (ClickHouseCluster + KeeperCluster CRs) via the operator. Disable to use an external or self-managed ClickHouse.
clickhouse.hoststring""ClickHouse hostname Langfuse connects to. Auto-set from the cluster Service when deploy is true; set explicitly for external ClickHouse.
clickhouse.httpPortint8123HTTP port Langfuse uses to talk to ClickHouse.
clickhouse.keeper.affinityobject{}Affinity rules for Keeper pods.
clickhouse.keeper.clusterDomainstring"cluster.local"Kubernetes cluster domain suffix the operator uses to build in-cluster DNS names for Keeper pods (spec.clusterDomain on the KeeperCluster CR). Keep aligned with clickhouse.clusterDomain.
clickhouse.keeper.enabledbooltrueDeploy a KeeperCluster alongside ClickHouse. Must stay enabled while clickhouse.deploy is true — the ClickHouseCluster CRD requires a keeperClusterRef even for a single replica. Run ClickHouse externally (clickhouse.deploy=false + clickhouse.host) to avoid Keeper.
clickhouse.keeper.image.pullSecretslist[]Image pull secrets for Keeper pods (spec.podTemplate.imagePullSecrets on the KeeperCluster CR), e.g. [{name: my-registry-secret}]. Required when pulling from a private registry.
clickhouse.keeper.image.repositorystring"clickhouse/clickhouse-keeper"ClickHouse Keeper image repository.
clickhouse.keeper.image.tagstring"26.8.36.3"ClickHouse Keeper image tag. Keep aligned with the ClickHouse server tag.
clickhouse.keeper.livenessProbeobject{}Liveness probe for Keeper pods (spec.containerTemplate.livenessProbe on the KeeperCluster CR). A full Kubernetes Probe that replaces the operator default entirely (no merge); the default is a TCP check on the client port (2181, or 2281 when TLS is required) that logs a Client has not sent any data warning on every probe.
clickhouse.keeper.loggerobject{}Operator logger settings for Keeper (spec.settings.logger on the KeeperCluster CR): level, jsonLogs, logToFile, size, count. clickhouse-operator 0.0.8+ defaults to level: information; older operators default to trace, which logs every Raft heartbeat and probe, so set level explicitly if you run one.
clickhouse.keeper.nodeSelectorobject{}Node selector for Keeper pods.
clickhouse.keeper.priorityClassNamestring""PriorityClass for Keeper pods.
clickhouse.keeper.readinessProbeobject{}Readiness probe for Keeper pods (spec.containerTemplate.readinessProbe on the KeeperCluster CR). A full Kubernetes Probe that replaces the operator default entirely (no merge); the default is an HTTP GET on /ready on the http_control port 9123.
clickhouse.keeper.replicasint3Keeper replica count (must be odd: 1, 3, or 5). Use 3 for production HA.
clickhouse.keeper.resourcesobject{"limits":{"memory":"1Gi"},"requests":{"cpu":"250m","memory":"256Mi"}}CPU/memory requests and limits for Keeper pods.
clickhouse.keeper.settingsobject{}Extra Keeper configuration merged with the operator-generated one (spec.settings.extraConfig), like clickhouse.cluster.settings for the server.
clickhouse.keeper.startupProbeobject{}Startup probe for Keeper pods (spec.containerTemplate.startupProbe on the KeeperCluster CR, requires clickhouse-operator 0.0.8+). A full Kubernetes Probe; the operator sets no startup probe by default.
clickhouse.keeper.storage.accessModes[0]string"ReadWriteOnce"
clickhouse.keeper.storage.classNamestring""StorageClass for Keeper PVCs. Leave empty to use the cluster default.
clickhouse.keeper.storage.sizestring"20Gi"Persistent volume size for each Keeper pod.
clickhouse.keeper.tolerationslist[]Tolerations for Keeper pods.
clickhouse.migration.autoMigratebooltrueRun ClickHouse schema migrations automatically when Langfuse starts.
clickhouse.migration.sslboolfalseUse SSL for ClickHouse schema migrations.
clickhouse.migration.urlstring""ClickHouse migration URL (native TCP). Leave empty to derive from host/port when deploy is true.
clickhouse.nativePortint9000Native TCP port Langfuse uses to talk to ClickHouse.
extraManifestslist[]
fullnameOverridestring""Override the full name of the deployed resources, defaults to a combination of the release name and the name for the selector labels
langfuse.additionalEnvlist[]List of additional environment variables to be added to all langfuse deployments. See documentation for details.
langfuse.additionalEnvFromlist[]Secrets or ConfigMap of additional environment variables to be added to all langfuse deployments. See documentation for details.
langfuse.affinityobject{}Affinity for all langfuse deployments
langfuse.aiFeaturesobject{"apiKey":{"secretKeyRef":{"key":"","name":""},"value":""},"baseUrl":"","bedrockRegion":"","extraHeaders":"","inAppAgent":{"enabled":false,"mcp":{"useInternalWebUrl":false},"sandbox":{"egressNetworkConnectorArn":"","executionRoleArn":"","imageIdentifier":"","provider":"","region":""}},"model":"","projectId":"","provider":"","smallModel":"","useResponsesApi":false}Langfuse AI features: the in-app agent and Ask AI. One instance-wide Langfuse AI model powers both. Requires application version >= 4.24. Helm does not create AWS Lambda MicroVM resources; pass ARNs from Terraform or a manual AWS setup. See https://langfuse.com/self-hosting/configuration/langfuse-assistant
langfuse.aiFeatures.apiKeyobject{"secretKeyRef":{"key":"","name":""},"value":""}LANGFUSE_AI_API_KEY. Required for anthropic and openai; rejected for bedrock, which authenticates through the AWS credential chain. Prefer secretKeyRef.
langfuse.aiFeatures.baseUrlstring""LANGFUSE_AI_BASE_URL. For openai, include /v1.
langfuse.aiFeatures.bedrockRegionstring""LANGFUSE_AI_AWS_BEDROCK_REGION
langfuse.aiFeatures.extraHeadersstring""LANGFUSE_AI_EXTRA_HEADERS as a JSON object string
langfuse.aiFeatures.inAppAgent.enabledboolfalseSet to true to set LANGFUSE_IN_APP_AGENT_ENABLED on web and worker
langfuse.aiFeatures.inAppAgent.mcp.useInternalWebUrlboolfalsePoint the worker's MCP calls at the in-cluster web Service and allow that Host on web. Sets LANGFUSE_MCP_BASE_URL, so the externally resolvable NEXTAUTH_URL is left alone; the worker also builds email and Slack links from it. Requires application version >= 4.25, unlike the rest of this block; on 4.24 the worker ignores it and falls back to NEXTAUTH_URL.
langfuse.aiFeatures.inAppAgent.sandbox.egressNetworkConnectorArnstring""LANGFUSE_IN_APP_AGENT_SANDBOX_AWS_LAMBDA_MICROVM_EGRESS_NETWORK_CONNECTOR_ARN. Required with the lambda-microvm provider: without it AWS attaches its default INTERNET_EGRESS connector and sandboxed code reaches the public internet.
langfuse.aiFeatures.inAppAgent.sandbox.executionRoleArnstring""LANGFUSE_IN_APP_AGENT_SANDBOX_AWS_LAMBDA_MICROVM_EXECUTION_ROLE_ARN
langfuse.aiFeatures.inAppAgent.sandbox.imageIdentifierstring""LANGFUSE_IN_APP_AGENT_SANDBOX_AWS_LAMBDA_MICROVM_IMAGE_IDENTIFIER
langfuse.aiFeatures.inAppAgent.sandbox.providerstring""LANGFUSE_IN_APP_AGENT_SANDBOX_PROVIDER. lambda-microvm is the only accepted value; leave empty for Langfuse tools only. The application also has a development-only dangerous-docker provider, which is not usable in a deployed instance.
langfuse.aiFeatures.inAppAgent.sandbox.regionstring""LANGFUSE_IN_APP_AGENT_SANDBOX_AWS_LAMBDA_MICROVM_REGION
langfuse.aiFeatures.modelstring""LANGFUSE_AI_MODEL. Required whenever provider is set.
langfuse.aiFeatures.projectIdstring""LANGFUSE_AI_FEATURES_PROJECT_ID for tracing AI feature runs on this instance
langfuse.aiFeatures.providerstring""LANGFUSE_AI_PROVIDER: bedrock, anthropic,

Deploy langfuse with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has langfuse on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartlangfuse is pinned at v2.3.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply