[RHOCP 4] How to Control Payload Size in HAProxy Ingress Controller?

Solution Verified - Updated -

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/path
    

    In 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content