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

Keda autoscaling support #98

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Keda autoscaling support #98

wants to merge 7 commits into from

Conversation

adedj
Copy link
Contributor

@adedj adedj commented Mar 7, 2025

Add KEDA autoscaling support for Langfuse components

This PR adds KEDA (Kubernetes Event-driven Autoscaling) support for both Langfuse web and worker components, providing more flexible autoscaling options beyond the standard Horizontal Pod Autoscaler (HPA).

Changes

  • Added KEDA configuration for both web and worker components.
  • Ensured mutual exclusivity between KEDA and HPA

KEDA is a single-purpose and lightweight component that can be added into any Kubernetes cluster. KEDA works alongside standard Kubernetes components like the Horizontal Pod Autoscaler and can extend functionality without overwriting or duplication.

Many companies prefer KEDA over traditional HPA


Important

Add KEDA autoscaling support for Langfuse web and worker components, ensuring exclusivity with HPA.

  • KEDA Autoscaling:
    • Added KEDA configuration for Langfuse web and worker components in values.yaml.
    • Introduced scaled-object.yaml for both web and worker to define KEDA ScaledObject resources.
    • KEDA takes precedence over HPA when both are enabled.
  • Deployment Changes:
    • Updated deployment.yaml for web and worker to conditionally set replicas based on KEDA and HPA status.
  • HPA Adjustments:
    • Modified hpa.yaml for web and worker to disable HPA when KEDA is enabled.

This description was created by Ellipsis for 475c92a. It will automatically update as commits are pushed.

@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Mar 7, 2025
@adedj adedj changed the title Keda Keda autoscaling support Mar 7, 2025
@marcklingen marcklingen requested a review from Steffen911 March 7, 2025 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant