Re: Creating a Hook that deletes a Pod


Vic Iglesias
 

Hey Natasha!

I think this is similar to what you are trying to do albeit as a post-delete:


On Wed, Jul 18, 2018 at 10:36 AM <wnatasha@...> wrote:
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,
Natasha 



--
Vic Iglesias | Cloud Solutions Architect | viglesias@... | 818-259-1534

Join cncf-helm@lists.cncf.io to automatically receive all group messages.