-
Notifications
You must be signed in to change notification settings - Fork 271
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
HAProxy Ingress continuously reloading: tcp-services (configmap) #999
Comments
Couldn't reproduce the issue, but it seems doable in the case k8s endpoints are provided in a distinct order between reconciliations. I hope #1003 can address that. It'd be really helpful any info just in case you can see differences in the tcp listener configuration between restarts, e.g. a duplicated endpoint entry, endpoints our of order, etc. |
v0.14.3 was just released with that improvement, please let us know if you continue to reproduce this behavior. |
Sorry I never got back to you about this. Unfortunately I'm still seeing the same behaviour with This is a diff before/after an update like the above: --- haproxy.cfg.orig 2023-06-29 10:42:58
+++ haproxy.cfg.new1 2023-06-29 10:44:48
@@ -75,8 +75,8 @@
bind :8140 accept-proxy
mode tcp
option tcplog
- server srv003 10.198.28.230:443 check port 443 inter 2s
- server srv002 10.198.3.250:443 check port 443 inter 2s
+ server srv002 10.198.28.230:443 check port 443 inter 2s
+ server srv003 10.198.3.250:443 check port 443 inter 2s
server srv001 10.198.37.86:443 check port 443 inter 2s
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # Notice how the IP addresses are indeed in sorted order and consistent, but the |
Thanks for the update, really appreciated. I in fact patched the wrong place, #1011 should solve it. New tags later this week. |
Thanks, I can confirm v0.14.4 and #1011 solve the issue. |
Description of the problem
Pods come and go in my cluster quite a lot, as one namespace in particular is used to run CI jobs for some of our projects. HAProxy Ingress notices these Pods and their associated Secrets coming and going, but notices non-existent changes to the tcp-services ConfigMap, triggering an unnecessary reload of HAProxy.
Expected behavior
The Ingress controller should see that no changes are actually needed and not reload HAProxy.
Steps to reproduce the problem
controller.tcp
in the Helm chart, for example.dynupdate.go:104] need to reload due to config changes: [tcp-services (configmap)]
Environment information
HAProxy Ingress version:
v0.14.2
Command-line options:
Global options:
Ingress objects:
Probably not relevant.
TCP Services ConfigMap keys:
Log from one of the updates:
The text was updated successfully, but these errors were encountered: