Does native sidecar containers support lifcycle prestop hooks

ramesh569
Fri, 02 Jan 2026 13:56:57 +0000
General Discussions

Asking for help? Comment out what you need so we can get more information to help you!

Cluster information:

Kubernetes version:1.32.
Cloud being used: AKS-Azure
Installation method: IAC
Host OS: Linux
CNI and version:
CRI and version:

i am trying to use native side car containers for log flushing. i know these containers does not stop kubernetes jobs being completed. so i would like to hold sidecar container for 1 miniute so it can flush logs then exit. but i donot see it is working.. it says pre-stop hook failed.

1 post - 1 participant