Add load balancing env variable for external databases. #16690

Closed
opened 2026-02-21 19:27:11 -05:00 by yindo · 2 comments
Owner

Originally created by @NotAnAddictz on GitHub (Sep 3, 2025).

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • Please do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

Am currently running Dify through a helm chart in a kubernetes cluster. I want to use an elastic-search cluster as my Vector Database. However, I only see the option for a single endpoint via ELASTICSEARCH_HOST. Does Dify offer internal client-side load balancing? ie: variable accepts a list of endpoints, rather than a single variable

2. Additional context or comments

No response

3. Can you help us with this feature?

  • I am interested in contributing to this feature.
Originally created by @NotAnAddictz on GitHub (Sep 3, 2025). ### Self Checks - [x] I have read the [Contributing Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) and [Language Policy](https://github.com/langgenius/dify/issues/1542). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report, otherwise it will be closed. - [x] Please do not modify this template :) and fill in all the required fields. ### 1. Is this request related to a challenge you're experiencing? Tell me about your story. Am currently running Dify through a helm chart in a kubernetes cluster. I want to use an elastic-search cluster as my Vector Database. However, I only see the option for a single endpoint via ELASTICSEARCH_HOST. Does Dify offer internal client-side load balancing? ie: variable accepts a list of endpoints, rather than a single variable ### 2. Additional context or comments _No response_ ### 3. Can you help us with this feature? - [ ] I am interested in contributing to this feature.
yindo added the 💪 enhancement label 2026-02-21 19:27:11 -05:00
yindo closed this issue 2026-02-21 19:27:11 -05:00
Author
Owner

@crazywoola commented on GitHub (Sep 3, 2025):

If you are interested, you can submit a PR for this feature.

@crazywoola commented on GitHub (Sep 3, 2025): If you are interested, you can submit a PR for this feature.
Author
Owner

@dosubot[bot] commented on GitHub (Oct 4, 2025):

Hi, @NotAnAddictz. I'm Dosu, and I'm helping the Dify team manage their backlog and am marking this issue as stale.

Issue Summary:

  • You requested support for an environment variable to enable client-side load balancing with multiple Elasticsearch endpoints.
  • This is to accommodate running Dify on Kubernetes with an Elasticsearch cluster.
  • Currently, Dify only supports a single ELASTICSEARCH_HOST, which limits your setup.
  • A maintainer encouraged you to submit a pull request to add this feature.
  • No further updates or contributions have been made on this issue.

Next Steps:

  • Please let me know if this feature is still relevant to your use case with the latest version of Dify by commenting here.
  • Otherwise, this issue will be automatically closed in 15 days.

Thanks for your understanding and contribution!

@dosubot[bot] commented on GitHub (Oct 4, 2025): Hi, @NotAnAddictz. I'm [Dosu](https://dosu.dev), and I'm helping the Dify team manage their backlog and am marking this issue as stale. **Issue Summary:** - You requested support for an environment variable to enable client-side load balancing with multiple Elasticsearch endpoints. - This is to accommodate running Dify on Kubernetes with an Elasticsearch cluster. - Currently, Dify only supports a single ELASTICSEARCH_HOST, which limits your setup. - A maintainer encouraged you to submit a pull request to add this feature. - No further updates or contributions have been made on this issue. **Next Steps:** - Please let me know if this feature is still relevant to your use case with the latest version of Dify by commenting here. - Otherwise, this issue will be automatically closed in 15 days. Thanks for your understanding and contribution!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#16690