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

Add SECRET_KEY for multi-replica Langflow backend #16

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ioudkerk
Copy link

@ioudkerk ioudkerk commented Nov 2, 2024

  • Introduce SECRET_KEY environment variable for backend when replica count > 1
  • Create a new secret.yaml template to store the SECRET_KEY
  • Ensure SECRET_KEY is only added when running multiple replicas

- Introduce SECRET_KEY environment variable for backend when replica count > 1
- Create a new secret.yaml template to store the SECRET_KEY
- Ensure SECRET_KEY is only added when running multiple replicas

Signed-off-by: Ivan Oudkerk <[email protected]>
@@ -53,7 +53,7 @@ langflow:
failureThreshold: 3
periodSeconds: 10
timeoutSeconds: 5
initialDelaySeconds: 5
initialDelaySeconds: 35
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had to increase the delay time in my k8s cluster, not sure if this happen to more people.

@ioudkerk
Copy link
Author

I'm going to test with fork-sync, thanks I think your proposal will give me more flexibility

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants