dataplaneapi
dataplaneapi copied to clipboard
Support multiple `HAProxy:Service:Port` tags on an EC2 instance
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!
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