Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v3 scale worker & web separately #43

Closed
AlexXi19 opened this issue Nov 27, 2024 · 4 comments
Closed

v3 scale worker & web separately #43

AlexXi19 opened this issue Nov 27, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@AlexXi19
Copy link

I'm using the v3 helm chart, and am currently unable to scale the web deployment and the worker deployment separately.

@AlexXi19
Copy link
Author

#33

@dosubot dosubot bot added the bug Something isn't working label Nov 27, 2024
Copy link

dosubot bot commented Nov 27, 2024

The v3 Helm chart for Langfuse does not appear to provide separate configuration options for scaling the web and worker deployments individually. The replicaCount parameter is used to control the number of replicas, but it applies generally and is used when autoscaling is not enabled [1][2].

If you need to scale the web and worker deployments separately, you might need to modify the Helm chart to introduce separate parameters for each component. This would involve creating distinct replicaCount settings for the web and worker deployments in the values.yaml file and adjusting the deployment templates accordingly.

To continue talking to Dosu, mention @dosu.

@Steffen911
Copy link
Contributor

Hey @AlexXi19 ,

Thank you for the report. I added 6f6f782 which allows you to set langfuse.web.replicas and langfuse.worker.replicas to overwrite the count for each container separately. If none of these are provided, we fallback to the global replicaCount or 1. Does that setup work for you?

@AlexXi19
Copy link
Author

CleanShot 2024-11-27 at 20 47 48@2x Worked for me, thanks! 🫡

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants