Hey.
As I can see it is not possible to set lifecycle for tailing sidecar container.
In case when we use preStop hook for main container, we want to tail logs until preStop stops working.
In my case I want to use the same preStop hooks which are stopped by my k8s operator after some time. The same preStop hook should be in tailing sidecar container.
I don't want to write another webhook which will change sidecar container after tailing sidecar operator :)
Thanks.
Hey.
As I can see it is not possible to set
lifecyclefor tailing sidecar container.In case when we use
preStophook for main container, we want to tail logs until preStop stops working.In my case I want to use the same preStop hooks which are stopped by my k8s operator after some time. The same preStop hook should be in tailing sidecar container.
I don't want to write another webhook which will change sidecar container after tailing sidecar operator :)
Thanks.