<p>I have a pod running and I have a hard time creating a job.yaml file that successfully does all the things I want it to do. Is there a way for me to shutdown the kubernetes pod without calling <code>kubectl delete jobs</code>? I looked into <code>kubectl stop pods</code> but its been deprecated.</p>

<p>Also, is it bad to just keep a pod running even if there is no computation happening? </p>

Jonathan
<p>The correct way to stop a pod is simply deleting it. </p>

<pre><code>kubectl delete po &lt;pod name&gt; -n &lt;namespace&gt;
</code></pre>

<p>Please be aware that if the pod was created by a job, it will likely be recreated automatically, so you should update the job spec before actually deleting the pod.</p>

<p>As per the second question, having a Pod that does nothing is not a problem for kubernetes, but of course it's a waste of resources and you should avoid it.</p>
