<p>I would like to trigger a scheduled kubernetes job manually for testing purposes. How can I do this?</p>

sreekari vemula
<p>Set <code>CRONJOB</code> to the name of your scheduled job. Set <code>JOB</code> to whatever you want.</p>
<pre><code>kubectl create job --from=cronjob/CRONJOB JOB;
</code></pre>
<p>Depending on which version of Kubernetes you are running, you may need to use the entire cronjob api resource name, for example:</p>
<pre><code>kubectl create job --from=cronjob.v1beta1.batch/CRONJOB JOB;
</code></pre>
<p>You can determine the version to use by running:</p>
<pre><code>kubectl api-resources | grep cronjob
</code></pre>
