tailing-sidecar icon indicating copy to clipboard operation
tailing-sidecar copied to clipboard

Provide a way to specify lifecyle for tailing sidecar container

Open Noksa opened this issue 2 years ago • 0 comments

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.

Noksa avatar Feb 09 '23 13:02 Noksa