<p>I started a test if my kubernetes installation is running well, with:</p>

<pre><code>$ kubectl run -it hello --image=busybox -- sh
</code></pre>

<p>However it didn't work. Now I want to just clean up everything before I figure out how to continue. But if I <code>delete</code>the pod it gets restarted, I suppose by a corresponding replicaset. But this gets restarted as well if I <code>delete it</code>. What can I do now to clean up whatever <code>kubectl run</code> did?</p>

<p>The run command creates a deployment which controls the replicaset please run the following commands to verify and solve:</p>

<pre><code>kubectl get deployments

kubectl delete deployment hello
</code></pre>
