<p>I added a pod through Kubernetes Dashboard. I used Create new resource and I created a pod from input.</p>
<p>I then tried to delete it with:</p>
<pre><code>kubectl delete -n default pod pod-name-0
</code></pre>
<p>It deletes it, but gets redeployed. As I understand, I should delete it's deployment first. So to list deployments, I used</p>
<pre><code>kubectl get deployments
</code></pre>
<p>But it's not there. How do I permanently delete a pod?</p>

lovrodoe
<p>The pods are maintained by a ReplicationController and they are automatically replaced if they fail, are deleted, or are terminated, you should check</p>
<pre><code>kubectl describe pods POD_NAME
kubectl describe replicationcontrollers/REPLICATION_CONTROLLER_NAME

</code></pre>
<p>Alternatively you can check the ReplicaSet <code>kubectl get rs</code></p>
<p>Afterwards you can: <code>kubectl edit rs REPLICASET_NAME</code> and change the replicas count up or down as you desire.</p>
<p>Nice <a href="https://stackoverflow.com/questions/36220388/what-is-the-difference-between-replicaset-and-replicationcontroller">explanation</a> regarding ReplicaSet vs ReplicationController</p>
