<p>When I issue a command</p>

<pre><code>kubectl delete namespace &lt;mynamespace&gt;
</code></pre>

<p>What is the sequence followed by kubernetes to clean up the resources inside a namespace? Does it start with services followed by containers? Is it possible to control the order?</p>

<p>Stack:
I am using <code>HELM</code> to define kubernetes resources.</p>

Vishrant
<p>No it is not possible and it will start in parallel.</p>

<p><code>kube-controller-manager</code> has few flags to control the speed/sync of different resources.</p>

<p>You can check <code>--concurrent-*</code> flags for controller manager on link: <a href="https://kubernetes.io/docs/reference/command-line-tools-reference/kube-controller-manager/" rel="nofollow noreferrer">https://kubernetes.io/docs/reference/command-line-tools-reference/kube-controller-manager/</a></p>
