<p>I'm following a kubernetes tutorial. I got halfway through but now I want to start over. </p>

<p>I tried <code>kubectl delete pods --all --force</code> but when I do <code>kubectl get pods</code> it still shows my deployments, and the age is reset. How do I get back to a pristine state to restart the tutorial?</p>

<p>Firt, delete the deployments, so that the <code>ReplicaSet</code> won't recreate pods:</p>

<pre><code>kubectl delete deployments --all --force --grace-period=0
</code></pre>

<p>Then, use the <code>--grace-period</code> flag:</p>

<pre><code>kubectl delete pods &lt;pod&gt; --grace-period=0 --force
</code></pre>

<p>From the documentation:</p>

<blockquote>
  <p>--grace-period int        Period of time in seconds given to the resource to terminate gracefully. Ignored if negative. (default -1)</p>
</blockquote>
