How to Delete a Single Kubernetes Pod Using kubectl

In this short blog post, I will show you how to delete a single container pod on Kubernetes using the kubectl command-line utility.

Get Started

The first action I will take to delete a single container is to run the command below and view all my running containers.

kubectl get pods

Once I have the list of running containers \ pods I will delete a single container using the command below

kubectl delete pod cranky-marmot-redis-client