# k8s | Pod Deletion | Basic

There are at times when we need to redploy a pod either we we'll use yaml file (in k8s | Pod | Intermediate) or simple cli delete and run. For that purpose we can use delete.

```shell
# Delete resources by file names, stdin, resources and names, or by resources and label selector.
kubectl delete pod <pod>
```

This command can also be used for testing out rolling deployments.

# **Thanks for reading till here ! 🙏**
