Let's say I am deleting a pod and plan to immediately edit a file afterward. Is . . .

Greg:
Let’s say I am deleting a pod and plan to immediately edit a file afterward. Is it safe to send the kubectl delete to the background by appending & to the end of the command? E.g.: kubectl delete pod app123 &

I think (but not 100% positive) that another way to accomplish this is to execute the command normally, press CTRL+Z, then type bg to send it to the background. This might work if you forgot to add the & but don’t feel like waiting for the command to complete. Any thoughts?

Madhan Kumar:
you can use “kubectl delete pod --now” it will be done with few seconds .

Rahul:
kubectl delete po <podname> --grace-period=0 --force
I use this . hpe this is right? @Madhan Kumar