Mass delete Pods based on status 

Sometime have a lot of pods in unknow state or error, here the commandlinde to delete all unknown state pods in argocd namespace

kubectl get pod -n argocd | grep Unknown | awk '{print $1}' | xargs kubectl delete pod -n argocd