<p>For a deployed Kubernetes CronJob named <code>foo</code>, how can I manually run it immediately?  This would be for testing or manual runs outside its configured schedule.</p>

Dan Tanner
<p>You can start a job based on an existing job's configuration, and a cronjob is just another type of job.  </p>

<p>Syntax:<br>
<code>kubectl create job --from=cronjob/$CronJobName $NameToGiveThePodThatWillBeCreated</code>  </p>

<p>e.g.:<br>
<code>kubectl create job --from=cronjob/foo foo-manual-1</code></p>
