-
Notifications
You must be signed in to change notification settings - Fork 2
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
Exposing HAProxy behind a service LoadBalancer
instead of Ingress
#4
Comments
TLDR: Long: It is stupid to try to implement the same logic on every ingress (not even possible). Nginx is just bad and obsolete (all fixed behavior exists in Nginx Plus) - I replaced it with Haproxy. So we need "proxy" layer as it is just simpler. We can't move it to Ingress. About Load Balancers: So all things are separated: I believe this will explain current choices. |
I'm not sure, but I think you must use different URLs for the Main ingress and the per-node ingress. Example from my setup, from TF:
In your case, you can check the ingress object, and realize that because of duplicated host names ingress can not stably route you. |
This can also be a problem with haproxy setup, Maybe I need to set some checks to alter the configuration for older setups like yours, I just did not expect that someone would stick to older versions =\ |
Thankfully part of this project is to get it up to 2023, so I will be making some changes to the HAProxy config to disable RR until we get there; this is still a better approach than what we are currently working with. Made some changes to |
With the change from Nginx to HAProxy, I am curious as to why there is no support to bypass the ingress object and instead define the proxy
Service
object as typeLoadBalancer
and handle TLS termination from the HAProxy deployment. Notably, the current defaultvalues.yaml
still set an ingress class name ofnginx
, so there is still a default ingress-nginx controller handling TLS.Is this something that was excluded explicitly, or just not taken into consideration?
The text was updated successfully, but these errors were encountered: