Open lambertpandian opened 3 months ago
Hello, The problem is that currently we check the user agent to discover if the request is a probe or not and handle it as probe and not as a legit request: https://github.com/kedacore/http-add-on/blob/08c811fe205daaf2bc55c6a46155be2729f21916/interceptor/middleware/routing.go#L85-L89
Does AGIC support adding custom user agent to the probe? if yes, just use kube-probe
and it'll pass. If not, we will need to include the AGIC user agent. Do you know which is it? Are you willing to open a PR supporting it?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.
Report
I am trying to migrate the ingress controller from Nginx to Azure Application Gateway. The following is my ingress configuration. I get a 404 Not Found error. Azure Application gateway tries to connect to keda-add-ons-http-interceptor pod for health probe and it is failing, I have attached the screenshot
Azure App gateway health screenshot
Expected Behavior
Http Addon needs to work with Azure Application Gateway ingress controller.
Actual Behavior
Http Addon is not working with Azure Application Gateway ingress controller.
Steps to Reproduce the Problem
Logs from KEDA HTTP operator
HTTP Add-on Version
0.8.0
Kubernetes Version
1.28
Platform
Microsoft Azure
Anything else?
No response