[RHOCP 4] How to Control Payload Size in HAProxy Ingress Controller?
Issue
-
How to control the payload size being transmitted to the Ingress controller through a curl command?
curl -kv -X POST -H "Arbitrary:Header" --header 'Content-Type: application/xml' -d @payload https://<complete-url>/hello-world/pathIn the above command, the payload refers to a file containing the actual data that is sent as the request body to a specific URL (route) using the curl command.
-
The payload can vary in size, but how can it be controlled if it is too large and likely to be rejected by the ingress controller?
Environment
- Red Hat OpenShift Container Platform
- 4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.