title: Error from server (RequestEntityTooLarge): Request entity too large: limit is 3145728 while creating a configMap
body: <p>I use <code>configMap</code> to feed the <code>init.sql</code> script to initialise my Mysql container in the Kubernetes pod. While that works for most cases I am struggling to convert a larger <code>init.sql</code> file which is 12.2 MB. 
  I use the following in <code>deployment.yaml</code> to mount the configMap.</p>
  
  <pre><code>volumeMounts:
  - name: init-volume
    mountPath: /docker-entrypoint-initdb.d
  </code></pre>
  
  <pre><code>volumes:
  - name: init-volume
    configMap:
      defaultMode: 420
      name: init-volume
  </code></pre>
  
  <p>The command I use to create the configMap </p>
  
  <pre><code>kubectl create configMap init-volume --from-file=init.sql
  </code></pre>
  
  <p>I get the error </p>
  
  <pre><code>Error from server (RequestEntityTooLarge): Request entity too large: limit is 3145728
  </code></pre>
  
  <p>How can I increase this limit/or any other alternate to initialise my database?</p>