<p>I am using <a href="https://github.com/jenkinsci/kubernetes-plugin" rel="nofollow noreferrer">jenkinsci/kubernetes-plugin</a> to provision slave pods in my Jenkins builds. I need to specify these pods' cpu and memory limit and request params. It can be done directly in the pipeline configuration, as shown <a href="https://github.com/jenkinsci/kubernetes-plugin#container-configuration" rel="nofollow noreferrer">here</a>.</p>

<p>However I would prefer to do it directly in the Jenkins configuration (Manage Jenkins -> Configure System -> Kubernetes -> Kubernetes Pod Template.</p>

<p>There is a specific section to insert a mergeable raw yaml:</p>

<p><a href="https://i.stack.imgur.com/t9qxN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/t9qxN.png" alt="enter image description here"></a></p>

<p>How can it be set up there? I have tried but it didn't seem to work.</p>

codependent
<p>I have found and option to configure it hidden under advanced options:</p>

<p><a href="https://i.stack.imgur.com/h6Xwp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/h6Xwp.png" alt="enter image description here"></a></p>
