<p>I am trying to upload a jar file in a config map. I am able to upload the small jar file of size 1 MB but not a file of size 4MB. I am using below command to create configmap.</p>

<p><code>kubectl create configmap configmap-test --from-file=jarfile.jar</code></p>

<p>Is there a way to increase this size limit?</p>

<p>Client version is GitVersion:"v1.14.1" and server version is GitVersion:"v1.15.0"</p>

Nish
<p>It is the constraint from the ETCD.</p>

<blockquote>
  <p>The limit is 1MB because that's the limit for etcd.<a href="https://github.com/kubernetes/kubernetes/issues/19781" rel="nofollow noreferrer">size limit</a></p>
</blockquote>
