<p>I am trying helm del --purge  which not deleting one pod which is mentioned in a yaml separately, but it is deleting all the pods which are getting created by deployments or which are stateful pods.</p>

Tanvi Pagare
<p>helm del --purge <code>&lt;helm chart name&gt;</code> will delete only pods which are related with particular helm charts.</p>

<p>You can check all the helm charts installed on the cluster via : <code>helm ls</code></p>

<p>you can delete helm chart using <code>helm del &lt;chart name&gt;</code></p>

<p>while the pods are created separately and not part of any helm chart will not be deleted when you will run  <code>helm del --purge</code></p>

<p>So, for example, you installed MySQL using helm : <code>helm install --name mysql stable/mysql</code></p>

<p>So when you will run <code>helm del --purge mysql</code> it will only delete mysql pods.</p>

<p>To delete the pod which are created separately you can run <code>kubectl delete pod &lt;pod name&gt;</code></p>

<blockquote>
  <p>To delete the deployment : <code>kubectl delete deployment &lt;deployment name&gt;</code></p>
  
  <p>To delete statefulsets : <code>kubectl delete statefulset &lt;statefulset name&gt;</code></p>
</blockquote>
