<p>I've created a <a href="https://kubernetes.io/docs/user-guide/cron-jobs/" rel="noreferrer">Kubernetes Scheduled Job</a>, which runs twice a day according to its schedule. However, I would like to trigger it manually for testing purposes. How can I do this?</p>

<p>The issue <a href="https://github.com/kubernetes/kubernetes/issues/47538" rel="noreferrer">#47538</a> that <a href="https://stackoverflow.com/a/46062397/2884309">@jdf mentioned</a> is now closed and this is now possible. The original implementation can be found <a href="https://github.com/kubernetes/kubernetes/commit/5b57c2db0067c8a16681fe9ec57ace3ad0342c8f" rel="noreferrer">here</a> but the syntax has changed.</p>
<p>With kubectl v1.10.1+ the command is:</p>
<p><code>kubectl create job --from=cronjob/&lt;cronjob-name&gt; &lt;job-name&gt; -n &lt;namespace-name&gt;</code></p>
<p>It seems to be backwardly compatible with older clusters as it worked for me on v0.8.x.</p>
