Zet
Zet•2w ago

langfuse-k8s example

Hello! I'm looking at https://github.com/langfuse/langfuse-k8s?tab=readme-ov-file and the example helm chart provided in the repo here. From the README it looks like we can deploy a PG instance by setting postgresql.deploy to true and I was wondering how this maps back to the example provided Thank you! 😄
GitHub
GitHub - langfuse/langfuse-k8s: Community-maintained Kubernetes con...
Community-maintained Kubernetes config and Helm chart for Langfuse - langfuse/langfuse-k8s
Solution:
Got it working! I didn’t realize how Helm installed the resource directly into GCP. I was under the impression that there would be an example K8s manifest for the PG deployment as well. I ended up looking and the helm deployed serviced and used those .yaml values to update my deployment that I created from the /examples folder...
Jump to solution
4 Replies
Marc
Marc•2w ago
You can either include a Postgres as part of the Kubernetes deployment or you can provide a connection to the application and disable the deployment of a database as part of the deployment Check out the chart, when deploying the database with the helm chart, the credentials are automatically passed to the application
Zet
Zet•2w ago
I see - let me give it a shot. From my understanding then we just omit the Postgres URL from the configmap example?
Marc
Marc•2w ago
Can you open an issue on the k8s repo in case this does not work? Seems like docs on this can be improved
Solution
Zet
Zet•2w ago
Got it working! I didn’t realize how Helm installed the resource directly into GCP. I was under the impression that there would be an example K8s manifest for the PG deployment as well. I ended up looking and the helm deployed serviced and used those .yaml values to update my deployment that I created from the /examples folder Ty!