You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like that even with the latest 0.11 beta image, whenever you delete the default-backend pod and it comes up with a new IP address, this is not reflected in the configuration, all other updates are working just fine. Additionally, it'd be nice to be able to configure default-backend's backend protocol independently (or force it to h1) as now - after enabling http/2 backend - I have problems with it as it's a simple HTTP/1.1 webserver.
Before, all good:
haproxy-ingress-0-default-backend-5956896444-99ntl 1/1 Running 0 82m 10.232.6.16
backend _default_backend
mode http
balance roundrobin
http-request set-header X-Original-Forwarded-For %[hdr(x-forwarded-for)] if { hdr(x-forwarded-for) -m found }
http-request del-header x-forwarded-for
option forwardfor
server srv001 10.232.6.16:8080 weight 1 proto h2
server srv002 127.0.0.1:1023 disabled weight 1 proto h2
server srv003 127.0.0.1:1023 disabled weight 1 proto h2
server srv004 127.0.0.1:1023 disabled weight 1 proto h2
After deleting pod:
haproxy-ingress-0-default-backend-5956896444-jpnpv 1/1 Running 0 2m26s 10.232.8.19
backend _default_backend
mode http
balance roundrobin
http-request set-header X-Original-Forwarded-For %[hdr(x-forwarded-for)] if { hdr(x-forwarded-for) -m found }
http-request del-header x-forwarded-for
option forwardfor
server srv001 10.232.6.16:8080 weight 1 proto h2
server srv002 127.0.0.1:1023 disabled weight 1 proto h2
server srv003 127.0.0.1:1023 disabled weight 1 proto h2
Expected behavior
Default-backend's IP address should be updated in the configuration.
Hi, thank you for the report. In fact v0.11 introduced this issue due to its nature (expose without and ingress) and how v0.11 updates the internal state (tracking everything under ingress objects). A new v0.11 beta should be tagged in a few more days.
Description of the problem
It looks like that even with the latest 0.11 beta image, whenever you delete the default-backend pod and it comes up with a new IP address, this is not reflected in the configuration, all other updates are working just fine. Additionally, it'd be nice to be able to configure default-backend's backend protocol independently (or force it to h1) as now - after enabling http/2 backend - I have problems with it as it's a simple HTTP/1.1 webserver.
Before, all good:
After deleting pod:
Expected behavior
Default-backend's IP address should be updated in the configuration.
Steps to reproduce the problem
Environment information
HAProxy Ingress version:
v0.11-beta2
Command-line options:
Global options:
Thanks for all the help in advance!
The text was updated successfully, but these errors were encountered: