charts icon indicating copy to clipboard operation
charts copied to clipboard

[stable/redis-ha] HAProxy does not expose a slave endpoint

Open Raab70 opened this issue 7 years ago • 3 comments

Is your feature request related to a problem? Please describe. A common use-case for redis sentinel behind HAProxy is to migrate an existing workload to a sentinel controlled redis cluster. To this end if clients are currently connected to redis followers (formerly known as slaves) under the current chart they would be unable to migrate and still get a follower connection as HAProxy only exposes an endpoint for masters.

Describe the solution you'd like The chart should also allow for the configuration of a follower endpoint on a given port. Something like:

haproxy:
 follower:
    enabled: true
    port: 6380

Which would provide a single endpoint for applications to connect to a redis follower.

Describe alternatives you've considered A second HAProxy service could be run that could expose a follower endpoint but it seems wasteful as opposed to just using a different port on the existing HAProxy service.

Additional context An example can be seen in this chart: https://github.com/prodriguezdefino/charts/tree/master/incubator/haproxy-redis

Raab70 avatar Sep 04 '19 20:09 Raab70

This should be resolved with: https://github.com/helm/charts/pull/16824

I'll be reviewing this today and providing some feedback.

DandyDeveloper avatar Sep 05 '19 00:09 DandyDeveloper

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions.

stale[bot] avatar Oct 05 '19 00:10 stale[bot]

This issue is being automatically closed due to inactivity.

stale[bot] avatar Oct 19 '19 01:10 stale[bot]