Langtrace on Kubernetes
Setup langtrace using helm chart
Github Repo: langtrace-helm-chart
Requirements
- Access to Kubernetes cluster
- Helm installed (installation steps)
- kubectl installed (installation steps)
Quick Start
helm repo add langtrace https://Scale3-Labs.github.io/langtrace-helm-chart
helm install langtrace langtrace/langtrace
Make sure you are in the right namespace context before running the helm install.
Configuration
By default helm chart will spin up following services:
- Langtrace App
- Postgres DB with persistent volume
- CLickhouse DB with persistent volume
If you wish to reuse an existing Postgres or Clickhouse instance, you can just set
enabled
to false and update the connection details in theenv
section in thevalues.yaml
file.
Authentication Configuration
Langtrace supports multiple authentication methods. To configure authentication for your Kubernetes deployment:
Edit the values.yaml file in your Helm chart. Under the langtraceApp.env section, add the necessary environment variables for your chosen authentication method(s). For detailed instructions on authentication options and required variables, refer to our Authentication guide.
Configuration options
Parameter | Description | Default |
---|---|---|
langtraceApp.image | Langtrace image repository | scale3labs/langtrace-client |
langtraceApp.langtrace_release | Langtrace image tag | latest |
langtraceApp.replicaCount | Number of replicas | 1 |
Explore more configuration options in the values.yaml.
Operations
Upgrade the chart
helm upgrade langtrace langtrace/langtrace
Refresh the repository
helm repo update langtrace
Search of the chart version
helm search repo langtrace
Uninstall
helm uninstall langtrace