Im currently testing to build aks cluster with application gateway ingress from terraform following this documentation.
After successfully creation, i tried to serve a guestbook tutorial through the app gateway ingress controller:
The application started normally but the application gateway returns HTTP 502 error.
I found solution here : github.com/MicrosoftDocs/azure-docs/issues/27904 The problem was documentation, ingress controller wasnt deployed