I would like to try Kubernetes' hooks but I didn't find any example how I should do it. As far as I know, with this hooks I can run bash scripts in freshly created containers and prior to terminate them.
I've found just a short documentation which say this is possible but that's all.
Do somebody have an example or something useful info?
Thanks in advance.