Skip to content

Add SECRET_KEY for multi-replica Langflow backend#16

Open
ioudkerk wants to merge 1 commit intolangflow-ai:mainfrom
ioudkerk:fix/scale-ide-deploy
Open

Add SECRET_KEY for multi-replica Langflow backend#16
ioudkerk wants to merge 1 commit intolangflow-ai:mainfrom
ioudkerk:fix/scale-ide-deploy

Conversation

@ioudkerk
Copy link
Copy Markdown

@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 <ivan@clovrlabs.com>
periodSeconds: 10
timeoutSeconds: 5
initialDelaySeconds: 5
initialDelaySeconds: 35
Copy link
Copy Markdown
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
Copy Markdown
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