Azure / application-gateway-kubernetes-ingress

This is an ingress controller that can be run on Azure Kubernetes Service (AKS) to allow an Azure Application Gateway to act as the ingress for an AKS cluster.
https://azure.github.io/application-gateway-kubernetes-ingress
MIT License
667 stars 413 forks source link

New custom error pages issue: Application Gateway Custom Error Status Code Is Invalid #1578

Open yevhenii0bozhenko opened 7 months ago

yevhenii0bozhenko commented 7 months ago

Describe the bug Ingress controller is unable to update Application Gateway (e.g. new pods IP addresses, backend pools..) if there are (in preview) custom error pages configured (codes: 403, 502). The App Gateway feature is described here

I have custom error pages set on a Global Level (not on listeners one).

Ingress controller pods produce errors listed in kubectl logs section below.

Questions

To Reproduce Steps to reproduce the behavior:

  1. Set the custom error page on a Global Level according to this official instruction here
  2. Restart your deployment that has ingress pointing to it
  3. Check the ingress controller pod logs, Application Gateway Activity Log, Backend Pool configuration of the related deployment for errors.

Ingress Controller details

This issue is related to issue #733 and PR #1350 but exposes another use case.

akshaysngupta commented 7 months ago

@yevhenii0bozhenko I suspect that this is happening because AGIC is using older azure sdk.