Pipeline Deployments To Automation Suite Are Failing With Error 'RequestEntityTooLarge' On Azure Kubernetes Service

Pipeline deployments to Automation Suite are failing with error 'RequestEntityTooLarge'

Issue:

Pipeline deployments to Automation Suite are failing with error 'RequestEntityTooLarge' on AKS.

Resolution:

Set maxRequestBodySize in Application Gateway WAF:

  1. Open the Azure Portal → Application Gateway → WAF Policy.

  2. Adjust the Request Body Size Limit (maxRequestBodySize) to your desired value (e.g., 512MB).

Alternatively, if you are using an AGIC-managed ingress, you can set this annotation on your ingress resource:

appgw.ingress.kubernetes.io/request-body-size: "512m"

Verify the annotations:

kubectl get ingress nginx-ingress -n istio-system -o yaml | grep request-body-size

Once the above steps are completed, validate the pipeline status and share the status.