<p>I am using locust helm chart. I need to perform load testing by supplying a text files whose size is greater than 3MB. The configuration maps do not work such big files. I tried splitting my files into smaller chunks of less than 1MB. But I am still getting the error &quot;requested entity too large: limit is 3145728&quot; as I got before when the file was a single huge one. Is there any option available?</p>

Pramavi
<p>You got this error due to a limitation for ConfigMap that is equal to 1Mb. According to the official <a href="https://kubernetes.io/docs/concepts/configuration/configmap/#motivation" rel="nofollow noreferrer">ConfigMap documentation</a>:</p>
<blockquote>
<p>A ConfigMap is not designed to hold large chunks of data. The data
stored in a ConfigMap cannot exceed 1 MiB. If you need to store
settings that are larger than this limit, you may want to <strong>consider
mounting a volume or use a separate database or file service.</strong></p>
</blockquote>
<p>At this point I can suggest you check @coderanger answer - that's the only available options for you.</p>
<hr />
<ul>
<li>To read and check</li>
</ul>
<p>1)<a href="https://kubernetes.io/docs/tasks/configure-pod-container/configure-volume-storage/#configure-a-volume-for-a-pod" rel="nofollow noreferrer">Configure a Pod to Use a Volume for Storage</a></p>
<p>2)Great SO answer <a href="https://stackoverflow.com/a/54294407/9929015">Make large static data files available to kubernetes pods</a></p>
