I am running into a situation where, initcontainer execution to completion has to be time bounded. Can someone tell or recommend a strategy to achieve the same? What I have tried till now:
activeDeadlineSeconds
- This attribute is supported on Pod but not on ReplicaSet. So, cannot use inside deployment object.killing initcontainer from inside, when timer expires. This is not working as expected, please refer to link.
progressDeadlineSeconds
- This doesnt take into account initcontainers.