get all pods with a name kubectl code example
Example 1: kubectl delete all pods
kubectl delete --all pods
Example 2: kubectl run pod
kubectl run <pod-name> --image=<image> --restart=Never
kubectl delete --all pods
kubectl run <pod-name> --image=<image> --restart=Never