<p>We have deployed our microservices in the k8 cluster and we have also configured ingress resources for them as we are accessing it from outside of k8 cluster. When we make a request with size larger then 2900 character we get back an: error code 414: uri too large. We searched on the internet and found about nginx settings which can help us in solving this problem</p>
<pre><code>Syntax: large_client_header_buffers number size ;
Default: large_client_header_buffers 4 8k;
Context: http, server
</code></pre>
<p>Since we are using nginx ingress, We checked the documentation on <a href="https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/annotations/#proxy-buffers-number" rel="nofollow noreferrer">ingress-nginx</a> online resource but could not find corresponding settings. Can somebody help with this?</p>

Vinit89
<p>Use <a href="https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/configmap/" rel="nofollow noreferrer">this page</a> for all nginx-ingress config.</p>
<p>Add the values in the <code>ConfigMap</code> and they will get picked up automatically.</p>
<p>The exact value you are looking for is: <code>large-client-header-buffers</code></p>
