<p>i am trying to setup a complete GitLab Routine to setup my Kubernetes Cluster with all installations and configurations automatically incl. decommissioning at the end. </p>

<p>However the Creation and Decommissioning Progress is one of the most time consuming because i am basically waiting for the provisioning till i can execute further commands. </p>

<p>as i have some times troubles in the bases of the Kubernetes Setup, i currently decomission my cluster and create a new one. But this is pretty un-economical and time consuming.</p>

<p>Question:
Is there a command or a series of commands to completely reset a Kubernetes to his state after creation ? </p>

Bliv_Dev
<p>The closest is probably to do all your work in a new namespace and then delete that namespace when you are done. That automatically deletes all objects inside it.</p>
