I have the following pods:
NAME READY STATUS RESTARTS AGE xxx-myactivities-79f49cdfb4-nwg22
I'm using this:
kubectl get pods | grep part-of-the-pods-name|awk '{split($0,a," "); print a[1]}'|xargs -I {} kubectl delete pods {} --grace-period=0
additional grep can be added if needed.