application-gateway-kubernetes-ingress icon indicating copy to clipboard operation
application-gateway-kubernetes-ingress copied to clipboard

Error with multiple ingress records for the same hostname but different paths

Open dustinrue opened this issue 7 months ago • 0 comments
trafficstars

Describe the bug Tested with AGIC version 1.8.0 and 1.8.1, deployed as an add-on to an AKS cluster, the controller is unable to resolve separate ingress records when:

  • both have the same hostname, such as example.com
  • use the same port
  • have different paths (/ and /.well-known)

Instead, an error is produced:

Two Http Listeners of Application Gateway [scrubbed] and [scrubbed] are using the same Frontend Port

In this case the original record is for the application and the second for a cert-manager validation routine. Due to the bug, the controller seems to be unable to keep the gateway pointed at the proper nodes and the application will eventually go offline.

To Reproduce See above description

Azure support ticket: 2504150040011775

dustinrue avatar Apr 15 '25 17:04 dustinrue