<p>Is there a way to perform a </p>

<pre><code>kubectl run --image=busybox mydeployment sleep 100
</code></pre>

<p>but by selecting nodes e.g. that were created after a specific timestamp for example?</p>

pkaramol
<p>In order to select the node, you can edit the json of the created resource using the <code>--overrides</code> flag.</p>

<p>For instance, this creates a pod on the node <code>name</code>:</p>

<pre><code>kubectl run nginx --generator=run-pod/v1 --image=nginx --overrides='{ "spec": { "nodeName": "name" } }'
</code></pre>
