Skip to content

Allow Custom Backend Options for HAProxy Configuration #3

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

Open
ncalvas opened this issue May 5, 2025 · 0 comments · May be fixed by #4
Open

Allow Custom Backend Options for HAProxy Configuration #3

ncalvas opened this issue May 5, 2025 · 0 comments · May be fixed by #4

Comments

@ncalvas
Copy link

ncalvas commented May 5, 2025

Description

Currently, the HAProxy load balancer configuration doesn't support customization of backend options. We need to add support for customizing HAProxy backend options through metadata, specifically to enable HTTP health checks for TCP backends and custom check port configurations.

Current Behavior

  • Backend health checks use only the basic check option
  • No way to customize health check type (HTTP vs TCP)
  • No way to specify custom check ports different from the service port
  • No way to customize health check expectations (status codes, response content)

Current Workaround

The current workaround requires:

  1. Disabling the reconfigure crontab job: #* * * * * /opt/triton/clb/reconfigure
  2. Manually modifying the HAProxy configuration files
  3. This prevents automated updates and requires manual maintenance

Requested Behavior

  • Support custom HTTP health checks with option httpchk for TCP backends
  • Support HTTP response validation with http-check expect
  • Allow specifying custom check ports with check port <port> in server-template
  • Support rise/fall parameters for health check thresholds
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 a pull request may close this issue.

1 participant