dataplaneapi icon indicating copy to clipboard operation
dataplaneapi copied to clipboard

Support multiple `HAProxy:Service:Port` tags on an EC2 instance

Open manickam-rescale opened this issue 10 months ago • 1 comments

We have multiple ports listening for application traffic on our backend servers, however the current HAProxy Data Plane API supports service discovery for only traffic to a single port.

Would it be possible to allow service discovery for multiple ports on a single EC2 instance? Happy to make a contribution to support this change if it is permissible.

Thanks!

manickam-rescale avatar Feb 19 '25 15:02 manickam-rescale

Hello

you say you have multiple ports listening for application traffic

Is it something like A, B or something else

  • Case A
    frontend A
        bind 0.0.0.0:10080
        bind 0.0.0.0:20080
        bind 0.0.0.0:30080
        use_backend ...
  • Case B
    frontend B
        bind 0.0.0.0:10080-10085
        use_backend ...

What do you have in mind? What does the final config look like?

You said "Happy to make a contribution to support this change if permissible" Have you already wrote a patch something to submit?

Thanks

smeroth avatar Mar 12 '25 06:03 smeroth