Skip to content

Add a port-range attribute to haproxy-route-tcp to allow mapping from mutliple frontend ports to multiple backend ports #525

@Thanhphan1147

Description

@Thanhphan1147

Enhancement Proposal

  • We need to be able to allow the requirer to specify a range of port that it wants to be mapped 1-to-1 from the frontend. For example: if a range of 10500-10600 is requested, then every port in that range on the frontend is mapped to the same port on the backend, e.g <haproxy_ip>:10512 will map to <backend_server_ip>:10512
  • Conflicts will need to be checked for the entire port range, if one port in the range is conflicting then the entire backend will be considered invalid.
  • The port part of each server entries in the backend will be removed if port-range is set.
  • every port in the range will need to be used in open_ports call at the end of the reconcile loop.

Impact

High (The feature has short-term technical value)

Impact Rationale

No response

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions