Creating a Hook that deletes a Pod


I was wondering if there was example code that demonstrates a hook (job) that deletes a pod during pre-deletion.
I've tried implementing it myself, but it seems like it never "succeeds" and results in a time-out error, so it never deletes the pod.
I'm using an image and the commands from the software to do uninstallation.

Thank you,

Join to automatically receive all group messages.