Skip to content

What is Langfuse Operator? ​

Langfuse Operator is a Kubernetes operator that deploys and manages production-ready Langfuse instances. Langfuse is an open-source LLM observability platform for tracing, evaluating, and monitoring AI applications.

Why an Operator? ​

Running Langfuse in production involves managing multiple interdependent components:

  • Web — the Next.js frontend and API server
  • Worker — background job processor for async tasks
  • PostgreSQL — primary data store
  • ClickHouse — analytics and trace storage
  • Redis — caching and job queue
  • Blob Storage — S3/Azure/GCS for large trace payloads

Deploying these manually means wiring up dozens of environment variables, managing secrets, coordinating database migrations on upgrades, and monitoring health across all components. The operator handles all of this declaratively.

What It Manages ​

With a single LangfuseInstance custom resource, the operator:

  • Creates and configures Web and Worker Deployments
  • Wires up all component connectivity via environment variables
  • Manages database migrations and background migrations on upgrades
  • Generates and rotates secrets automatically
  • Creates Services, Ingress/Route, NetworkPolicies, HPAs, and PDBs
  • Monitors component health with circuit breakers
  • Tracks ClickHouse storage pressure and schema drift

Additional CRDs enable multi-tenancy:

  • LangfuseOrganization — manages Langfuse organizations via the Admin API
  • LangfuseProject — manages projects and API keys, storing credentials in Kubernetes Secrets

Custom Resources ​

KindPurpose
LangfuseInstanceDeploys the complete Langfuse stack
LangfuseOrganizationManages a Langfuse organization
LangfuseProjectManages a project and its API keys

All CRDs use the API group langfuse.palena.ai/v1alpha1.

Platform Support ​

PlatformNotes
Kubernetes 1.26+Standard deployment
OpenShift 4.12+Route support, SCC-compatible
Amazon EKSS3 native, IRSA/Pod Identity
Google GKEGCS native, Workload Identity
Azure AKSAzure Blob Storage, Azure AD OIDC
Rancher / RKE2Standard deployment

Next Steps ​

Released under the Apache 2.0 License.