<p>I'm trying to set the resources of my pod from a config map</p>
<pre><code>resources:
  requests:
    cpu:
    valueFrom:
     configMapKeyRef:
       name: config
       value: CPU_REQUEST
</code></pre>
<p>But get error &quot;got map&quot;, expected &quot;string&quot;</p>

Essex Boy
<p>Resources cannot be configured through configmaps, they need to be configured as part of the <a href="https://k8s-examples.container-solutions.com/examples/Pod/Pod.html#resources_and_limits/" rel="nofollow noreferrer">podspec</a></p>
