(using HAproxy 1.8.3)
I’m attempting to use the DNS resolver to load balance traffic to Kubernetes pods. It works well for around 100 backends. When we bump the backends to ~150, HAproxy starts thrashing backend UP/DOWN messages.
Is this related to DNS limitations? What happens when the SRV records don’t fit in 8192 bytes?
Defines the maximum payload size accepted by HAProxy and announced to all the name servers configured in this resolvers section. <nb> is in bytes. If not set, HAProxy announces 512. (minimal value defined by RFC 6891) Note: to get bigger responses but still be sure that responses won't be dropped on the wire, one can choose a value between 1280 and 1410. Note: the maximum allowed value is 8192.