<p>I have a GET request URL into a service on my kubernetes that's ~9k long and it seems like the request is getting stuck in Kubernetes's ingress. When I tried calling the url from within the docker or from other docker in the cluster it works fine. However when I go through a domain name I'm getting the following response header:</p>

<p><a href="https://i.stack.imgur.com/zxvM7.png" rel="noreferrer"><img src="https://i.stack.imgur.com/zxvM7.png" alt="enter image description here"></a></p>

touchaponk
<p>I think the parameter you must modify is <strong>Client Body Buffer Size</strong></p>

<blockquote>
  <p>Sets buffer size for reading client request body per location. In case
  the request body is larger than the buffer, the whole body or only its
  part is written to a temporary file.  By default, buffer size is equal
  to two memory pages.  This is 8K on x86, other 32-bit platforms, and
  x86-64. It is usually 16K on other 64-bit platforms. This annotation
  is applied to each location provided in the ingress rule</p>
</blockquote>

<pre><code>nginx.ingress.kubernetes.io/client-body-buffer-size: "1000" # 1000 bytes
nginx.ingress.kubernetes.io/client-body-buffer-size: 1k # 1 kilobyte
nginx.ingress.kubernetes.io/client-body-buffer-size: 1K # 1 kilobyte
nginx.ingress.kubernetes.io/client-body-buffer-size: 1m # 1 megabyte
</code></pre>

<p>So you must add an <a href="https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/annotations/#client-body-buffer-size" rel="nofollow noreferrer">annotation</a> to your nginx ingress config. </p>
