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

annotation "haproxy.org/load-balance: uri path-only" causes configuration reloads #678

Open
alexkayzer opened this issue Sep 16, 2024 · 2 comments

Comments

@alexkayzer
Copy link

We found a bug, when using the kubernetes ingress annotation "haproxy.org/load-balance: uri path-only" , it constantly configuration reloads.
DEBUG service/service.go:134 Service 'example-app/example-app': backend 'example-app_example-app_http-8080' updated: [Balance.URIPathOnly: true != false] Reload required
versions that have tested applications 1.10.16, 3.0.1, 11.0

@hdurand0710
Copy link
Contributor

Thanks @alexkayzer for reporting this.
The root cause is similar to #673, we are working on a fix.

Here, it's not linked to the use of the Backend CRD, but the root cause is the same.
Even though the configuration is correctly written in the haproxy.cfg file

When we reconcile the Backend we detect a diff on the field, update the field and reload.

@hdurand0710
Copy link
Contributor

The issue comes from the included library client-library.
The issue has already been fixed in the client-native >= 5.1.5 but for Ingress Controller version:

  • 1.11/3.0 are still using client-native 5.1.4

We need to bump client-native library and build a new version of Ingress Controller.
We will keep you posted.

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

No branches or pull requests

2 participants